0

I am giving my developers the gift of kibana using the elasticsearch that is bundled with logstash. They will have kibana in their vagrant boxes.

Goal: Install and configure kibana dashboards via scripts on startup.

Problem: How to pre-load exported dashboards into elasticsearch embedded in logstash?

I have downloaded the dashboards, let's call the file: "fancy.json". Once logstash is up and running how can I automate loading fancy.json into elasticsearch?

  • What do you mean by kibana using the elasticsearch embedded in logstash? Kibana, Logstash and Elastic are all very different products and as far as I know don't come "bundled". – GregL Sep 30 '15 at 11:06
  • Elasticsearch is bundled into logstash. I like to give context with my questions. The issue is how to pre-load the previously exported dashboards at provision time. – Dan Garthwaite Sep 30 '15 at 11:47
  • Again, I don't think the two products come bundled together. There's an ES output for LS, is that what you mean? – GregL Sep 30 '15 at 12:18
  • Really, it has always been bundled. elastic.co/guide/en/logstash/current/… – Dan Garthwaite Sep 30 '15 at 13:19
  • 2
    Elastic has posted just that for importing the Beats dashboards: github.com/elastic/beats-dashboards, in particular the load.sh script. – GregL Sep 30 '15 at 15:05
0

I never figured this out.

Instead I now copy the exported dashboard into /opt/kibana/app/dashboards/company.json and set the default dashboard in /opt/kibana/config.js to point to it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.