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
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.