From Wikiversity
Jump to navigation Jump to search

Filebeat[1] is a lightweight software for sending logs is available for Windows, MacOS and Linux.

Install it in MacOS executing: brew install filebeat or brew tap elastic/tap && brew install elastic/tap/filebeat-full or running inside a container[2] and configure it:

Configure it:

  • MacOS: /usr/local/etc/filebeat.yml[3]
  • Docker: /usr/share/filebeat/filebeat.yml

And run it:

  • filebeat modules enable system
  • filebeat setup (Requires Kibana running and rechable)
  • filebeat -e
-e Log to stderr and disable syslog/file output

See also[edit | edit source]

  1. https://www.elastic.co/products/beats/filebeat
  2. https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html
  3. https://www.elastic.co/guide/en/beats/filebeat/current/configuring-howto-filebeat.html