# Weird behavior Kibana and Metricbeat dashboards

**URL:** <https://discuss.elastic.co/t/weird-behavior-kibana-and-metricbeat-dashboards/224934>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 25, 2020, 3:28am UTC](https://discuss.elastic.co/t/weird-behavior-kibana-and-metricbeat-dashboards/224934 "2020-03-25T03:28:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [March 25, 2020, 3:28am UTC](https://discuss.elastic.co/t/weird-behavior-kibana-and-metricbeat-dashboards/224934/1 "2020-03-25T03:28:52Z")

</div>

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.

```auto
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:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/7/77d050bbd7e5c787c8b2c33368f52d087ed273f0.png)

```auto
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!

```auto
[ {
    "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

---

<div class="post-metadata">

**Author:** ![ffknob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ffknob/32/37008_2.png) [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Post date:** [April 1, 2020, 3:37pm UTC](https://discuss.elastic.co/t/weird-behavior-kibana-and-metricbeat-dashboards/224934/2 "2020-04-01T15:37:58Z")

</div>

Hi @ElasticLiver

I'm also having some hard time with Metricbeat 7.6.1. Could you take a look in a post a published some days ago an see if you have some similar scenario?

> [@Metricbeat + Kibana Dashboards \[esaggs\] \> "field" is a required parameter](https://discuss.elastic.co/t/metricbeat-kibana-dashboards-esaggs-field-is-a-required-parameter/225860):
>
> Hello, I've just deployed a cluster in the Elastic Cloud and configured a metricbeat agent to send metrics to that cluster. Here is my metricbeat.yml: name: "xyz.acme.co" tags: ["ACME", "acme.co"] setup.ilm.check\_exists: false cloud.id: "..." setup.kibana.host: "..." setup.kibana.protocol: "https" setup.dashboards.enabled: true metricbeat.modules: - module: system enabled: true period: 1m Shouldn't Metricbeat's "setup --dashboards" and "setup.dashboards.enabled: true" only set up…

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 29, 2020, 3:38pm UTC](https://discuss.elastic.co/t/weird-behavior-kibana-and-metricbeat-dashboards/224934/3 "2020-04-29T15:38:04Z")

</div>

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