Handling multiple client's filebeat on logstash

I want to run filebeats on "n" number of clients, on logstash how can i distinguish each client's filebeat.

  1. Is there any way to include client name in indexing.
  2. Am able to read geo name in each filebeat message. Is there way to add [_source][host][geo][name] in index.
  3. Any other better option for this use case .

The metadata that filebeat adds includes the hostname. You can use a sprintf reference to that in the index name.

or I think you can do this as well to see what @metadata is on output

output {
stdout { codec => rubydebug { metadata => "true" } }

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