Hi,
Having some issues with filebeat on Ubuntu 16.04.
I followed this tutorial https://www.howtoforge.com/tutorial/how-to-install-elastic-stack-on-ubuntu-16-04/
I cannot figure out why filbeat is not starting. Any help would be appretiated.
indent preformatted text by 4 spaces
Preformatted text● filebeat.service - filebeat
Loaded: loaded (/lib/systemd/system/filebeat.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Mon 2017-07-10 06:14:32 PDT; 31s ago
Docs: https://www.elastic.co/guide/en/beats/filebeat/current/index.html
Process: 2136 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: 2136 (code=exited, status=1/FAILURE)
Jul 10 06:14:32 ubuntu systemd[1]: filebeat.service: Main process exited, code=exited, status=1/FAILURE
Jul 10 06:14:32 ubuntu systemd[1]: filebeat.service: Unit entered failed state.
Jul 10 06:14:32 ubuntu systemd[1]: filebeat.service: Failed with result 'exit-code'.
Jul 10 06:14:32 ubuntu systemd[1]: filebeat.service: Service hold-off time over, scheduling restart.
Jul 10 06:14:32 ubuntu systemd[1]: Stopped filebeat.
Jul 10 06:14:32 ubuntu systemd[1]: filebeat.service: Start request repeated too quickly.
Jul 10 06:14:32 ubuntu systemd[1]: Failed to start filebeat.Preformatted text
indent preformatted text by 4 spaces
filebeat.prospectors:
-
input_type: log
paths:
- /var/log/*.log
- /var/log/auth.log
- /var/log/syslog
-
document-type: syslog
indent preformatted text by 4 spaces
output.logstash:
# The Logstash hosts
hosts: ["elk-master:5443"]
bulk_max_size: 2048
# Optional SSL. By default is off.
# List of root certificates for HTTPS server verifications
ssl.certificate_authorities: ["/etc/filebeat/logstash.crt"]
template.name: "filebeat"
template.path: "filebeat.template.json"
template.overwrite: false
indent preformatted text by 4 spaces