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

(Ranganatha) #1

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??

(Shrikant) #2

Hello @gowda,

Yes its possible

(Ranganatha) #3

do you know how

(Chandra Reddy Kosna) #4

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

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

(system) closed #5

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