# Metribeats to kafka: no dashboard appear in kibana

**URL:** https://discuss.elastic.co/t/metribeats-to-kafka-no-dashboard-appear-in-kibana/309688
**Category:** Beats
**Tags:** metricbeat
**Created:** [July 14, 2022, 8:58pm UTC](https://discuss.elastic.co/t/metribeats-to-kafka-no-dashboard-appear-in-kibana/309688 "2022-07-14T20:58:35Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [July 21, 2022, 5:41am UTC](https://discuss.elastic.co/t/metribeats-to-kafka-no-dashboard-appear-in-kibana/309688/15 "2022-07-21T05:41:15Z")

</div>

Read this... And follow the steps  
Where it's say to clean up that means completely remove any / All metricbeat on indices and or data streams

> [@Metricbeat to Logstash to ElasticSearch - Cannot See Any Hosts Defined, But Data Is Definitely Coming In](https://discuss.elastic.co/t/metricbeat-to-logstash-to-elasticsearch-cannot-see-any-hosts-defined-but-data-is-definitely-coming-in/275715/2):
>
> Hi @jthart Welcome to the community apologies that you're having some struggles getting this set up Perhaps we can help. Assuming you want to run an architecture like this Metricbeat (1 to Many) -\> Logstash -\> Elasticsearch Basically using Logstash as a collect and pass through Here is my recommendation try to resist the urge to make this more complex. Do not try to manually load index templates dashboards anything else follow the quick start / basic setup. Clean everything up we're star…

Gives you step by step...

And with the new datastreams logstash should look like this.

```auto
input {
  beats {
    port => 5044
  }
}
output {
  if [@metadata][pipeline] {
    elasticsearch {
      hosts => "http://localhost:9200"
      pipeline => "%{[@metadata][pipeline]}"
      user => "elastic"
      password => "password"
      manage_template => false
      index => "%{[@metadata][beat]}-%{[@metadata][version]}"
      action => "create"
    }
  } else {
    elasticsearch {
      hosts => "http://localhost:9200"
      user => "elastic"
      password => "password"
      manage_template => false
      index => "%{[@metadata][beat]}-%{[@metadata][version]}"
      action => "create"
    }
  }
}

```

These are the steps / configuration that work / work for others.

Also, you're logstash config is not correct. You're not looking close at the elasticsearch output. You need to write to the data stream so it uses to correct mapping and then rolls over with the island. When you added the date to it, it wasn't doing that correctly.

Get that working then you can put Kafka back in.

---

_[View the full topic](https://discuss.elastic.co/t/metribeats-to-kafka-no-dashboard-appear-in-kibana/309688)._
