Logstash multiple indices

Hello! I ask for help
The question is:
I send data using filebeat to logstash, logstash sends to elasticsearch
All logs are written in a single logstash- * indices
I would like to write logs from different servers to my own indices

How could I propagate them? The easiest way.
For each filebeat agent on different servers to send data to its indices

For example:
Postgre server to postgre-* index
Nginx server to nginx-* index

Thanks in advance!

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