Kafka-beats-logstash

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

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

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"
}
}
}

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

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