Basically dumping out all of the dashboards and everything that feeds into them.
I get back a response saying it's done it, but where is the file holding the exported objects? When I do it through my web browser I get a new file - exported.ndjson - downloaded, but all curl is giving me is a 'great done it!'.
You need to be talking to the Kibana host/IP, which uses port 5601, not Elasticsearch, which uses port 9200. If you talk to Elasticsearch with that query, you are actually creating/updating a document in an index called api. Which is what that response is saying. You should be able verify that by checking with _cat/indices?v.
You should also be using the -o flag for curl as you mention, I did forget that part myself
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.