Search code examples
elasticsearchkibana

How to create Kibana Index Pattern in Python


In Python there are methods for creating index template, index. Does anyone knows which method is used to create Index Pattern ?

es.indices.put_index_template() - creating index template

es.indices.create() - creating index

es.indices.??????()


Solution

  • Use the Kibana rest api interface... as outlined here

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

    to create / update etc Kibana Index patterns