# No metricbeat data sent via Logstash is shown in Kibana "Metrics" section

**URL:** <https://discuss.elastic.co/t/no-metricbeat-data-sent-via-logstash-is-shown-in-kibana-metrics-section/257091>\
**Category:** Metrics\
**Created:** [November 30, 2020, 3:24pm UTC](https://discuss.elastic.co/t/no-metricbeat-data-sent-via-logstash-is-shown-in-kibana-metrics-section/257091 "2020-11-30T15:24:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![phlegx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phlegx/32/14979_2.png) [@phlegx](https://discuss.elastic.co/u/phlegx)\
**Post date:** [November 30, 2020, 3:24pm UTC](https://discuss.elastic.co/t/no-metricbeat-data-sent-via-logstash-is-shown-in-kibana-metrics-section/257091/1 "2020-11-30T15:24:14Z")

</div>

Hi there,

I'm sending Metricbeat data via Logstash to Elasticsearch. Data is there and I can query the index just fine in Kibana "Discover".

However, even if I add the index in "Observability -\> Metrics - \> Settings", I cannot see any data in "Observabilty -\> Metrics".

Maybe there is something missing in the index template. How can I debug this and create a proper index template via API?

thanks!

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [November 30, 2020, 4:29pm UTC](https://discuss.elastic.co/t/no-metricbeat-data-sent-via-logstash-is-shown-in-kibana-metrics-section/257091/2 "2020-11-30T16:29:34Z")

</div>

Can you post the mapping for one of the indices? You can run the command below in the "Dev Console" but replace `{index-name}` with one of the index names.

```auto
GET {index-name}/_mapping

```

---

<div class="post-metadata">

**Author:** ![phlegx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phlegx/32/14979_2.png) [@phlegx](https://discuss.elastic.co/u/phlegx)\
**Post date:** [November 30, 2020, 5:06pm UTC](https://discuss.elastic.co/t/no-metricbeat-data-sent-via-logstash-is-shown-in-kibana-metrics-section/257091/3 "2020-11-30T17:06:59Z")

</div>

Hi Chris! Yes I can. Here is the output:

> <https://gist.github.com/phlegx/e58b000ff9becff279af1033eea98a8c>

The output is a bit long. So I had to put it on a gist.

thanks!

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [November 30, 2020, 7:23pm UTC](https://discuss.elastic.co/t/no-metricbeat-data-sent-via-logstash-is-shown-in-kibana-metrics-section/257091/4 "2020-11-30T19:23:00Z")

</div>

Looks like your Metricbeat mappings are not setup correctly. This is usually done by running `./metricbeat setup` directly against your Elasticsearch cluster. Since you have a custom index pattern you might need to fiddle with the `metricbeat.yml` some to ensure the index pattern gets setup correctly. OR you could just run the default, then look at what the index template for `metricbeat` looks like and copy/modify it for your index patterns.

---

<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:** [December 28, 2020, 7:23pm UTC](https://discuss.elastic.co/t/no-metricbeat-data-sent-via-logstash-is-shown-in-kibana-metrics-section/257091/5 "2020-12-28T19:23:01Z")

</div>

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