title: Location of custom Kibana dashboards in ElasticSearch
body: <p>I know for a fact that saved <strong>Kibana</strong> dashboards (ie, the JSON file of the dashboard) are saved in OR associated to a particular <strong>ElasticSearch</strong> instance. If I were to save my Kibana instance when attached to one server hosting ElasticSearch and I were to switch my ElasticSearch server to another address, I would lose my saved dashboard. But, if I were to switch back to the original server address, I will get the saved dashboard back.</p>
  
  <p>My question, thus, is where exactly in the <em>elasticsearch</em> installation directory are the dashboards saved. I would rather be able to run a script to automatically load my pre-created Kibana dashboards than be forced to copy/paste JSON through the web console every time I start up a new ElasticSearch instance.</p>
  
  <p>Thank you for the help.</p>
  
  <h2>UPDATE</h2>
  
  <p>According to this <a href="https://groups.google.com/forum/#!msg/elasticsearch/fwS7czO1kco/9W47fgTW4scJ" rel="noreferrer">Google Groups post</a>, the dashboards are saved into the <code>kibana-int</code> _index with a _type of <code>dashboard</code> and an _id of what I named the . So, to save my dashboards into new ElasticSearch instances, do I just need to execute a PUT into this _index through CURL? Is there a better way to do this?</p>