Sending filtered logs from Log Server to Nagios xi

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
siddjay
Posts: 2
Joined: Tue Sep 08, 2015 9:15 am

Sending filtered logs from Log Server to Nagios xi

Post by siddjay »

My Nagios Log Server is monitoring logs of Remedy application hosted in a particular host. The log server is able to receive the logs successfully. I have set the NRDP server so that my Log server can talk with Nagios xi. However I am not able to create a query that will filter the logs based on certain keywords. Please help me creating the query. Once the query is created I will then be able to create an alert and send it via NRDP. Thanks.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Sending filtered logs from Log Server to Nagios xi

Post by jolson »

I would like to see a screenshot of the log you're looking to query for. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
siddjay
Posts: 2
Joined: Tue Sep 08, 2015 9:15 am

Re: Sending filtered logs from Log Server to Nagios xi

Post by siddjay »

Attached is the snapshot of logs of Remedy. I am trying to filter all the logs that do have a specific error code in its message content. (For Example - (ARERR 8760))
However I am not able to build a query to do this. Please help. Thanks.
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Sending filtered logs from Log Server to Nagios xi

Post by jolson »

Have you tried wrapping your query in quotes?

For example, you might do a query for "ARERR 8760". Quotes around a string of text tell Nagios Log Server to interpret as one piece - have you tried this already? What was the result?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.