Hi
Has anyone used Packetbeat from Elasticsearch to send network logs to Nagios Log Server?
If so, what did you do?
Been trawling the internet and not found anything yet.
Thanks, N
Packetbeat: Sending to Nagios Log Server
Re: Packetbeat: Sending to Nagios Log Server
I guess it might be easier to try and say what I want to do.
I'm looking to monitor when things are transferred off a server somewhere else. Nothing fancier than that.
I'm looking to monitor when things are transferred off a server somewhere else. Nothing fancier than that.
Re: Packetbeat: Sending to Nagios Log Server
Fair warning, I've never used this before.
I installed packetbeat on a Linux server:
https://www.elastic.co/guide/en/beats/p ... ation.html
I disabled the elasticsearch output in /etc/packetbeat/packetbeat.yml and enabled the logstash one:
Then I ran these commands on the linux system:
The I added this under inputs in Nagios Log Server:
Save and apply and they were coming in.
I assume that will send in a TON of data and increase the size of your indexes in Nagios Log Server so I would keep an eye on how it impacts your system, you would need to reach out to elastic for support on the packetbeat utility and customizing it to your needs.
I installed packetbeat on a Linux server:
https://www.elastic.co/guide/en/beats/p ... ation.html
I disabled the elasticsearch output in /etc/packetbeat/packetbeat.yml and enabled the logstash one:
Code: Select all
#output.elasticsearch:
# Array of hosts to connect to.
#hosts: ["localhost:9200"]
# Protocol - either `http` (default) or `https`.
#protocol: "https"
# Authentication credentials - either API key or username/password.
#api_key: "id:api_key"
#username: "elastic"
#password: "changeme"
# ------------------------------ Logstash Output -------------------------------
output.logstash:
# The Logstash hosts
hosts: ["192.168.X.X:5044"]
Code: Select all
packetbeat setup -e
sudo service packetbeat startCode: Select all
beats {
port => 5044
}I assume that will send in a TON of data and increase the size of your indexes in Nagios Log Server so I would keep an eye on how it impacts your system, you would need to reach out to elastic for support on the packetbeat utility and customizing it to your needs.
Re: Packetbeat: Sending to Nagios Log Server
Thank you will give it a go!
Re: Packetbeat: Sending to Nagios Log Server
Sounds good! Keep us posted.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.