How to check what all objects are created in Elasticsearch

Hi

I am new joinee in one of the project which uses Elasticsearch cluster.

Could you please help me to find out the way via which i could find and say what all objects are created in Elasticsearch Cluster.

These objects are

  1. Indices / Templates / Pipelines / Aliases .. etc

I am aware of _cat/ modules .. but for that i need to query each and every _cat module. And if I miss any, then I would miss the object created in my cluster.

Hence would like to know the command / way to have it checked.

Thanks
Tushar Nemade

You could probably get that from the cluster state.

What are you trying to do with it all?

Hi Mark

I will check cluster state and update in here , whether i get the information or not.

I am trying to find out what all objects are created in existing Elasticsearch cluster..

Thank You
Tushar Nemade

Hi Mark

Yes "_cluster/state" , indeed does show all the required information with all details...

Could you please help me to cut-short the output only to its names like

aliases - abc , pqr , xyz
template - abc-*
pipeline - mnq-pipe

To have precise output of all objects created manually and excluding system generated ones ..

Thanks
Tushar Nemade

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.