How does the elastic indexes structure look like?

Vineet Gupta: I have to count the number of processinstances of a process that are failed, i want this data from elastic search.
What is the structure of documents that are stored in Elastic search (any documentation on structure of data stored by zeebe on elastic search.)

Vineet Gupta: Also i want other history data from elastic search, I know there is a rest api for camunda platform process engine but for zeebe engine how to fetch history.

zell: You can find the elastic index templates here https://github.com/camunda-cloud/zeebe/tree/main/exporters%2Felasticsearch-exporter%2Fsrc%2Fmain%2Fresources|https://github.com/camunda-cloud/zeebe/tree/main/exporters%2Felasticsearch-exporter%2Fsrc%2Fmain%2Fresources

Hope that helps

Note: This post was generated by Slack Archivist from a conversation in the Zeebe Slack, a source of valuable discussions on Zeebe (get an invite). Someone in the Slack thought this was worth sharing!

If this post answered a question for you, hit the Like button - we use that to assess which posts to put into docs.