Im having trouble to get the Metricbeat dashboards to work, testing configurations, this is the one that gives me best result but still are some problems.
setup.dashboards.enabled: true
setup.dashboards.directory: "/usr/share/metricbeat/kibana"
setup.dashboards.index: "test*"
setup.template.name: "test_mtb"
setup.template.pattern: "test_mtb*"
output.elasticsearch:
hosts: ["myip"]
username: "myusr"
password: "mypass"
index: "test"
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "test_mtb"
setup.ilm.pattern: "{now/d}-000001"
Weird case one:
this configuration doesn't create a kibana index pattern but most of the: "[Metricbeat System] Overview ECS" dashboard, and the "[Metricbeat System] Host overview ECS" dasboard works! WITHOUT A KIBANA INDEX PATTERN!
Weird case two:
some visualizations, in the dashboards mentioned before gives me this error:
Could not locate that index-pattern (id:test*), [click here to re-create it](#/management/kibana/index_pattern)
so what I did was create a kibana index pattern (test*) get the id of the index, pasted it in the visualization json and now that visualization works!
[ {
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern",
"id": "test*" # replaced this for the id of the index
}]
Visualization without index patterns?
Visualization with a name instead of an ID?
What the F*** is going on?
elastic and kibana version 7.5.1
metricbeat version 7.6.1