Coder Social home page Coder Social logo

Comments (3)

H21lab avatar H21lab commented on August 28, 2024

Thank you for reporting this. I just tested it (running Vagrant 2.2.6 on Ubuntu 20.04.2) and for me it worked well. Maybe it depends on the performance of the machine.

There is the following vagrant script, which is executed after the VM initialization: VM/post_initialize.sh. It includes the following code, which waits 60s for Kibana to start. After it uses curl to import the Kibana objects. If the Kibana is not running in 60s, it will fail. So most likely this was the reason why the objects were missing. The correct implementation would be, that the script waits properly until the Kibana service is up.

echo "Wait for Kibana to start ... (waiting 60 seconds)"
sleep 60
curl -X POST "localhost:5601/api/saved_objects/_import?overwrite=true" -H "kbn-xsrf: true" --form [email protected]

Your fix to import the objects from UI is fine or you can use the curl command from this script.

from tsharkvm.

priamai avatar priamai commented on August 28, 2024

Yes I just checked and is probably what happened (for the record I am on a cloud VM so performance is definitely not like my bare metal).
We should this quirk to the main readme so people don't get confused.
Thanks

from tsharkvm.

H21lab avatar H21lab commented on August 28, 2024

I pushed this commit 6bbdb70 to fix post_initialize script.

from tsharkvm.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.