Create a pattern_index kibana 7.6.2 api

I have created a dashboard in kibana for monitoring, and I want to create an index_pattern already exist in elasticsearch with name (idx-traces). I did the following request curl:
curl -X POST host:port/api/index_patterns/index_pattern -d '{"override":false, "refresh_fields":false, "index_pattern":{"title": "idx-traces"}}'

I got {"statusCode":404,"error":"Not Found","message":"Not Found"}.

Hi, it looks like that version doesn't provide REST APIs for managing index patterns. See the documentation on the APIs for your version at: Using the APIs | Kibana Guide [7.6] | Elastic

Thank u for your answer :slightly_smiling_face:

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