Hi team,
I am unable to start filebeat service on a centos 7 server.
Here is my filebeat.yml file
filebeat: ~
level: Error
logging:
files:
keepfiles: 7
name: filebeat.log
path: /var/log/filebeat
rotateeverybytes: 10485760
to_files: true
to_syslog: false
output:
logstash:
hosts:
- "xxxxx"
prospectors:
input_type: log
paths:
- /var/log/messages
registry_file: /var/lib/filebeat/registry
tail_files: true
error:
● filebeat.service - filebeat
Loaded: loaded (/usr/lib/systemd/system/filebeat.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2018-08-03 07:13:35 EDT; 1h 3min ago
Docs: https://www.elastic.co/guide/en/beats/filebeat/current/index.html
Process: 2878 ExecStart=/usr/share/filebeat/bin/filebeat -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat (code=exited, status=1/FAILURE)
Main PID: 2878 (code=exited, status=1/FAILURE)
Kindly help
Thanks,
Subbu