Hello,
I am new to Elastic stack so please be gentle
I'd like to ask you for an advice for Filebeat and Logstash configuration in the following world:
There are X servers: S1, S2, S3, ... Sx
Servers have the following logs to be shipped to Elastic stack:
- system logs (/var/log/*)
and combination of application logs: - app1 logs (/opt/app1/logs/*)
- app2 logs (/opt/app2/logs/*)
- ...
- appX logs (/opt/appX/logs/*)
My question is how to organize filebeat and logstash configuration to be able in Kibana/Elasticsearch: - quickly find logs from appX from Sx server
- quickly find logs from appX across Sx - Sy servers
- quickly find logs from system logs from Sx server
- quickly find logs from system logs from Sx - Sy server
How about indices ? Should I put system logs from each server into different index (X indices) or one index combined for all servers ? The same for applications: one index for all appX across all servers or one index for appX for each server ?