Hi yall,
I have been using AWS ES service for kibana and all the clients running with filebeat and the logstash is forwarding the logs to ES.
Below is my filebeat configuration for your reference.
filebeat:
prospectors:
-
input_type: log
paths:
- /home/ubuntu/SSL/hybris/log/tomcat/console-*.log
fields:
type: hybris_console_log
environment: Production
layer: App
servername: ss-new-prod-customerfacing2
document_type: hybris_console_log
-
input_type: log
paths:
- /home/ubuntu/SSL/hybris/log/tomcat/access.*.log
fields:
type: hybris_access_log
environment: Production
layer: App
servername: ss-new-prod-customerfacing2
document_type: hybris_access_log
output:
logstash:
hosts: ["10.7.3.210:5044"]
bulk_max_size: 2048
shipper:
logging:
to_syslog: false
to_files: true
files:
path: /var/log/filebeat
name: filebeat.log
keepfiles: 7
rotateeverybytes: 10485760 # = 10MB
level: info
The same config with different value of the parameters have been configured in all servers. But some of the server names not showing in kibana dashboard.
Here you can see in past 7 days logs it showing only 4 hostnames.
Kindly help me in this case if anyone knows. Thanks in advance.