Difference between revisions of "Filebeat"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
And run it:
 
And run it:
 
* <code>filebeat modules enable system</code>
 
* <code>filebeat modules enable system</code>
 +
filebeat modules enable system
 +
Module system is already enabled
 +
 
* <code>filebeat setup</code> (Requires Kibana running and reachable)
 
* <code>filebeat setup</code> (Requires Kibana running and reachable)
 
* <code>filebeat -e</code>
 
* <code>filebeat -e</code>

Revision as of 15:35, 18 January 2020

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 modules enable system
Module system is already enabled
  • filebeat setup (Requires Kibana running and reachable)
  • filebeat -e
-e Log to stderr and disable syslog/file output

See also

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: https://en.wikiversity.org/wiki/ElasticSearch/Filebeat

Advertising: