Create metricbeat index pattern failed - index patterns are missing

Version: ELK6.0
metricbeat.json of index-pattern from https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-6.0.0.zip

Command:
curl -H 'Content-Type: application/json' -XPUT 'http://192.168.222.7:9200/_template/metricbeat-*' -d@/path/to/metricbeat.json

Error:
{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: index patterns are missing;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: index patterns are missing;"},"status":400}

I think you are mixing here two things. What you have in the beats-dashboards repo is the index patterns for Kibana. The index template for Elasticsearch is now loaded by Metricbeat automatically and is generated out of the fields.yml which is shipped with Metricbeat.

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