Python read all index pattern

is there a python call to read all index patterns

I can read all indexes but I want to read patterns name

for example I have index-1, index-2, index-3

and index pattern is index-* and I use that for all visulization.

Index patterns are a Kibana method for accessing Elasticsearch, they aren't an Elasticsearch funamental.

There might be a Kibana API to get that, but I'm not super aware of that area sorry.

1 Like

found something on other thread

curl -u username -XGET http://hostname:5601/api/saved_objects/_find?type=index-pattern

and it gives me all pattern in json.

Right, that's Kibana not Elasticsearch.

that is right. but your answer give me clue to look on other places.

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