Hello! I'm trying to import via elasticdump some json files that I manually exported via kibana web interface. But seems that the import is not working.
Here's the output of the command:
root@csc-elk-elastic-logstash-container-472da4f8:~# /opt/elasticdump/node_modules/elasticdump/bin/elasticdump --input=test.json --output=http://10.11.25.147:9200/.kibana --type=data
Mon, 25 Jun 2018 18:08:13 GMT | starting dump
Mon, 25 Jun 2018 18:08:13 GMT | got 1 objects from source file (offset: 0)
Mon, 25 Jun 2018 18:08:14 GMT | sent 1 objects to destination elasticsearch, wrote 0
Mon, 25 Jun 2018 18:08:14 GMT | got 0 objects from source file (offset: 1)
Mon, 25 Jun 2018 18:08:14 GMT | Total Writes: 0
Mon, 25 Jun 2018 18:08:14 GMT | dump complete
The main question is: is that possible to import dashboards and visualizations throught elasticdump?
Thanks @Nathan_Reese! I really appreciate your help.
Just to document, I did some workaround: I created the objects manually via web interface and then, I dumped the .kibana index. With the .kibana index json file, I got the right json format that is compatible with ElasticDump and it worked!
I know that the link that you provided tells that it is not safe, but I will be aware of the changes in future versions. I will also try to do to it like the documentation says to have a alternative just in case.
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.