Retrieve filename about logfile

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
yguignot41
Posts: 4
Joined: Thu Sep 10, 2015 11:03 am

Retrieve filename about logfile

Post by yguignot41 »

We try to retrieve filename dans optionnaly folder of logfile how can we do that ?
Now we find field SourceModuleName but it contains log_xx for example log_02 it's not useful and moreover it changes for every servere ie : the same filename is not reference by the same in SourceModuleName on differents servers
Thanks in advance for yours answers
'
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Retrieve filename about logfile

Post by jolson »

This depends on what type of log agent you're using to send your logs. Are you using rsyslog? nxlog? Let me know and I will be happy to give you a recommendation.
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