Page 1 of 1

Filebeat agent for linux log source

Posted: Wed Jun 09, 2021 3:03 am
by Techmnagioslsuser
Hello Team,

Can we use Filebeat agent for forwarding log from linux log source to Nagios log server. Please suggest.

Thanks

Re: Filebeat agent for linux log source

Posted: Wed Jun 09, 2021 4:29 pm
by cdienger
Yes, this is possible. https://www.elastic.co/guide/en/beats/f ... arted.html has the steps for installing the agent and forwarding the logs to various outputs. You'll want to configure an output to forward the logs to the NLS machine where you'll have set up a beats input(https://www.elastic.co/guide/en/logstas ... beats.html) under Configure > Global Config(https://assets.nagios.com/downloads/nag ... Inputs.pdf) which can be as simple as:

Code: Select all

beats {
    port => 5044
  }