Api calls for Kibana

Hi there,
I am setting up Elk stack on a eks cluster using helm charts.
In regards to the helm chart and in general. What configuration elements should be enabled to allow me to set data views with a simple api call?

I am struggling to find info I am sure it a simple answer which i am missing.
Help is much apricated.

Have you checked the documentation for the Create data view API?

The following request would create a data view:

$ curl -X POST kibana-host:port/api/data_views/data_view
{
  "data_view": {
     "title": "indexname-*",
     "name": "dataview name"
  }
}

Thanks so much, I was able to make it work with the api key but actually I need to find a way to generate api key automatically when setting up the stack with helm,

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