2 Description=Filebeat sends log files to Logstash or directly to Elasticsearch.
3 Documentation=https://www.elastic.co/products/beats/filebeat
4 Wants=network-online.target
5 After=network-online.target
8 Environment="BEAT_LOG_OPTS=-e"
9 Environment="BEAT_CONFIG_OPTS=-c /etc/filebeat/filebeat.yml"
10 Environment="BEAT_PATH_OPTS=-path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat"
11 ExecStart=/usr/bin/filebeat $BEAT_LOG_OPTS $BEAT_CONFIG_OPTS $BEAT_PATH_OPTS
15 WantedBy=multi-user.target