# Kafka-beats-logstash

**URL:** https://discuss.elastic.co/t/kafka-beats-logstash/314902
**Category:** Beats
**Tags:** metricbeat
**Created:** [September 21, 2022, 9:24pm UTC](https://discuss.elastic.co/t/kafka-beats-logstash/314902 "2022-09-21T21:24:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![emmanuel\_stevens\_LED](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emmanuel_stevens_led/32/107869_2.png) [@emmanuel\_stevens\_LED](https://discuss.elastic.co/u/emmanuel_stevens_LED)
#### Post date: [September 21, 2022, 9:24pm UTC](https://discuss.elastic.co/t/kafka-beats-logstash/314902/1 "2022-09-21T21:24:49Z")

</div>

Hello,

I have difficulties with a task. I received help from @stephenb to configure My ELKK, it works fine.

[https://discuss.elastic.co/t/metribeats-to-kafka-no-dashboard-appear-in-kibana/309688/15](https://discuss.elastic.co/t/metribeats-to-kafka-no-dashboard-appear-in-kibana/309688/15)

My probleme is for the logstash he gaves me this configuration :

> input {  
> beats {  
> port =\> 5044  
> }  
> }  
> output {  
> if [@metadata][pipeline] {  
> elasticsearch {  
> hosts =\> "[http://localhost:9200](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](http://localhost:9200)"  
> user =\> "elastic"  
> password =\> "password"  
> manage\_template =\> false  
> index =\> "%{[@metadata][beat]}-%{[@metadata][version]}"  
> action =\> "create"  
> }  
> }  
> }

So whatever data i send is going to the same index.  
I have different client i am giving acces to the interface and i do not want one client to see the data of the other, all the dashboards seems to be gather at the same place.

Is there a way to separate the dashbords and make a user sees only his dashboards

---

<div class="post-metadata">

### Author: ![tegerei](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tegerei/32/132992_2.png) [@tegerei](https://discuss.elastic.co/u/tegerei)
#### Post date: [October 6, 2022, 3:50pm UTC](https://discuss.elastic.co/t/kafka-beats-logstash/314902/2 "2022-10-06T15:50:42Z")

</div>

Create a user for that client. Specify the roles the client user has on the index.

---

<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: [November 3, 2022, 5:51pm UTC](https://discuss.elastic.co/t/kafka-beats-logstash/314902/3 "2022-11-03T17:51:15Z")

</div>

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