When I do _cat/indices I see index id like this: QWsT5b6YR92v-1UIxJHJrw.
When I open a saved object in the same kibana index, I see different id:
e5234d00-123b-11e8-ac70-55d54df89f62
Why the id's aren't the same?
If I want to manualy change index id in exported visualization (in order to use in a different index) I need the longer id.
Is there an easy way to find this ID that dosen't involve opening a new visualization and checking the id that stored inside?
the id within the saved object of a visualization (or other element) does not refer to that ID you are seeing when querying _cat/indices. It instead refers to the id of the index pattern saved object for that index pattern that you created.
You can query them via GET /.kibana/_search?q=type:index-pattern This will give you a result of all index patterns you created and the id of the actual ES document (without the index-pattern: prefix) is the id you are looking for:
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.