Can we create index pattern using python script and obtain the id of that index pattern

i am trying to obtain the id of the index pattern that is created from the python script without using the kibana GUI is this possible??if so how??

Hello @gowda,

Yes its possible

do you know how

Use below query to retrieve the id of index pattern from .kibana index

GET .kibana_1/_search
{
  "query": {
"match": {
  "index-pattern.title": ""
}
  },
  "_source": "{_id}"
}

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