Page 2 of 2

Re: Send same log to 2 different NLS Setup

Posted: Tue Feb 26, 2019 4:04 pm
by cdienger
I've tested with the supplied configuration and do not have the problem. There must be something unique going on with that system.

Re: Send same log to 2 different NLS Setup

Posted: Tue Feb 26, 2019 4:31 pm
by Sampath.Basireddy
Today I was checking the logs on the new NLS, somehow I see few logs forwarded there which is very strange.

Very few logs though. Like 7 logs in last week, otherwise there were about half million logs forwarded to existing Nagios Log Server.

Sent a PM with attachment of the dashboard.

This is very strange and confusing.

Re: Send same log to 2 different NLS Setup

Posted: Wed Feb 27, 2019 10:26 am
by cdienger
Very odd. Instead of trying to have a single config that sends to two different servers you could run the setup script again to create a new config(for the same file) that sends to the second server.

Re: Send same log to 2 different NLS Setup

Posted: Wed Feb 27, 2019 11:12 am
by Sampath.Basireddy
Yep, tried that as well with both NLS IP & Host name, but no luck. :(

Re: Send same log to 2 different NLS Setup

Posted: Wed Feb 27, 2019 4:29 pm
by cdienger
What do the logstash filters look like on the NLS side of things? Try creating a new input(and new port) just for this log and run a tcpdump that captures trafficto the listening port - do you see traffic coming across on it? The tcpdump command would look like:

tcpdump -i any port XXX