I have some index patterns setup in my Elasticsearch. I see the index name gets encoded as a UUID in the URL (the value for the key “index:” in the URL once an index is selected).
How can I go about generating this UUID from the index name? I would prefer not to use any of the APIs and use strictly local code to generate the UUID from the index name. Does anyone know the method to generating these UUIDs?
From my understanding these mappings are stored in the .kibana file. I am looking for a method to generate the UUID based on the text and not looking in this file.
A UUID is unlike a hash not derived from any particular string, but rather based on other parameters like time and location, which makes it unique. It can not be derived from the index pattern. You will therefore need to use the APIs.
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.