Open so3500 opened 10 months ago
https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html Filebeat is a lightweight shipper for forwarding and centralizing log data. Installed as an agent on your servers, Filebeat monitors the log files or locations that you specify, collects log events, and forwards them eigher to Elasticsearch or Logstash for indexing.
https://www.elastic.co/guide/en/beats/filebeat/current/command-line-options.html
run command
filebeat -e : Logs to stderr and disables syslog/file output. filebeat -c : Specifies the configuration file to use for Filebeat. The file you specify here is relative to path.config. If the -c flag is not specified, the default config file, filebeat.yml is used.
filebeat directory > sh filebeat version
Filebeat