Search found 15 matches
- Thu Apr 07, 2016 10:34 am
- Forum: Nagios Log Server
- Topic: "Logstash Daemon dead but pid file exists"
- Replies: 12
- Views: 3143
Re: "Logstash Daemon dead but pid file exists"
I don't have "Command Subsystem" on the "Administration" (/nagioslogserver/index.php/admin) page.
- Thu Apr 07, 2016 9:57 am
- Forum: Nagios Log Server
- Topic: "Logstash Daemon dead but pid file exists"
- Replies: 12
- Views: 3143
Re: "Logstash Daemon dead but pid file exists"
All Files Combined: # # Logstash Configuration File # Dynamically created by Nagios Log Server # # DO NOT EDIT THIS FILE. IT WILL BE OVERWRITTEN. # # Created Thu, 07 Apr 2016 15:54:56 +0100 # # # Global Configuration # # # Local Configuration # [ec2-user@log logstash]$ sudo bin/logstash -V logstash ...
- Thu Apr 07, 2016 6:26 am
- Forum: Nagios Log Server
- Topic: "Logstash Daemon dead but pid file exists"
- Replies: 12
- Views: 3143
Re: How to group logs by IP inside the message?
I tried to run the binary to see more output. [ec2-user@log logstash]$ sudo bin/logstash --verbose -f etc/conf.d After a minute I get: Pipeline started {:level=>:info} After another minute I get: New Elasticsearch output {:cluster=>"", :host=>"localhost", :port=>"9200",...
- Thu Apr 07, 2016 3:41 am
- Forum: Nagios Log Server
- Topic: "Logstash Daemon dead but pid file exists"
- Replies: 12
- Views: 3143
Re: How to group logs by IP inside the message?
Here is the full output with comments and empty lines included. [ec2-user@log ~]$ ls -l /usr/local/nagioslogserver/logstash/etc/conf.d total 12 -rw-rw-r-- 1 apache apache 218 Apr 6 16:18 000_inputs.conf -rw-rw-r-- 1 apache apache 220 Apr 6 16:18 500_filters.conf -rw-rw-r-- 1 apache apache 493 Apr 6 ...
- Wed Apr 06, 2016 10:58 am
- Forum: Nagios Log Server
- Topic: "Logstash Daemon dead but pid file exists"
- Replies: 12
- Views: 3143
Re: How to group logs by IP inside the message?
$ cat /usr/local/nagioslogserver/logstash/etc/conf.d/* | grep -v '^$\|^\s*\#' output { elasticsearch { cluster => '' host => 'localhost' index_type => '%{type}' node_name => '1e28f93a-63b7-42c1-bca3-d23fcb6eef44' protocol => 'http' workers => 4 } } $ cat /etc/sysconfig/logstash | grep -v '^$\|^\s*\...
- Wed Apr 06, 2016 10:33 am
- Forum: Nagios Log Server
- Topic: "Logstash Daemon dead but pid file exists"
- Replies: 12
- Views: 3143
Re: How to group logs by IP inside the message?
Thank you for the detailed reply. I was following instructions on " Configuring Input Filters " but I run into problems. When I got to the "Verify Configuration" stage it showed "OK!" but after the "Apply Configuration", I get the following in my console. sudo...
- Wed Apr 06, 2016 8:42 am
- Forum: Nagios Log Server
- Topic: "Logstash Daemon dead but pid file exists"
- Replies: 12
- Views: 3143
"Logstash Daemon dead but pid file exists"
Hi,
I have a stream of log messages of type "Failed password for root from %IP% port %port_number% ssh2".
How can I get a list of values of %IP% which generated > 10 reports like this?
How can I set an alert which will trigger when a new %IP% will match the condition above?
I have a stream of log messages of type "Failed password for root from %IP% port %port_number% ssh2".
How can I get a list of values of %IP% which generated > 10 reports like this?
How can I set an alert which will trigger when a new %IP% will match the condition above?
- Wed Apr 06, 2016 3:27 am
- Forum: Nagios Log Server
- Topic: NLS Dashboard shows logs with a several hours delay.
- Replies: 5
- Views: 1329
Re: NLS Dashboard shows logs with a several hours delay.
The delayed logs have eventually stopped appearing in the Dashboard. It now works as expected. My guess is that changing the time zone settings didn't affect already existing logs which were registered as if they were from the future and it took time to catch up to those 'future' logs. I think the t...
- Mon Apr 04, 2016 10:07 am
- Forum: Nagios Log Server
- Topic: NLS Dashboard shows logs with a several hours delay.
- Replies: 5
- Views: 1329
Re: NLS Dashboard shows logs with a several hours delay.
I run it on EC2 m3.medium instance. My cpu load average <0.1.
- Mon Apr 04, 2016 8:54 am
- Forum: Nagios Log Server
- Topic: NLS Dashboard shows logs with a several hours delay.
- Replies: 5
- Views: 1329
Re: NLS Dashboard shows logs with a several hours delay.
In order to make things clearer, I'm trying to wipe all the logs from NLS. Is there an easy way to do this? I tried: curl -XDELETE "http://localhost:9200/nagioslogserver/" {"acknowledged":true} but this didn't seem to have the intended effect. Edit : This command has actually del...