Retrieve Default index-pattern via linux command line

Hi,

Is there a command or way to pull back\query which index is currently set to default via the command line (linux\debian)?

Thanks

Martin

The default for what exactly?

HI,

The default index pattern. Pull back from command line which index-pattern has been set to default.

thanks
Martin

Elasticsearch doesn't have one though. Do you mean Kibana?

yes I meant Kibana

There is no CLI for this - the closest thing is an API to interact with the objects Kibana persists which includes this value.

https://www.elastic.co/guide/en/kibana/current/saved-objects-api.html

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