NLS Log from file not working

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: NLS Log from file not working

Post by jolson »

No problem! If you have any follow up questions I'd be happy to answer them. Glad we got this working.
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.
kconti
Posts: 33
Joined: Thu Mar 26, 2015 11:25 am

Re: NLS Log from file not working

Post by kconti »

Yeah It doesn't like your filter it seems - but I'll use that grok tool to try to come up with something.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: NLS Log from file not working

Post by jolson »

At this point my filter would likely need some re-doing.

I hope that you have enough information to define your own filter - let me know if you have questions though. 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.
kconti
Posts: 33
Joined: Thu Mar 26, 2015 11:25 am

Re: NLS Log from file not working

Post by kconti »

Yes, you have been more than helpful, thanks so much!

I did get the all the other fields to finally populate (besides message) by altering your match:
Old:
match => [ "message", "^<%{NUMBER:number}>.....etc
New:
match => [ "message", "%{NUMBER:number}>.....etc

This messed up the first field partition - but I didn't need that field anyway.

Have a great weekend!
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: NLS Log from file not working

Post by jolson »

No problem - thanks for reporting back.
Have a great weekend!
You too. :)
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.
Locked