rsyslog wild card include files

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
TB@MAP
Posts: 7
Joined: Fri Jun 17, 2016 1:23 pm
Location: Chesapeake VA
Contact:

rsyslog wild card include files

Post by TB@MAP »

Can someone help me start a topic for the following? My account is not allowing me to start a Topic in Logging Server Forum:

How do I perform the following:


If we have rotating *.bin logs going to the following rotating directory by date and time (/opt/Avaya/ExperiencePortal/MPP/logs/records/"Date Folders") how can I use syslog to tail these files into a *.log file that will clear itself once it grows to specified size?

I would like it to run into a rsyslog file maybe


This is an example of the log file that is created : /opt/Avaya/ExperiencePortal/MPP/logs/records/2016/09/26/ches-prod-mpp1.mapcom.local_adr_vxml_1_20160926.bin

Can Nagios follow the information going into these files that are changing file names constantly or am I going about this all wrong?


Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 37&t=40210
In the future, please create a new thread and link to the old one instead of adding on.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: rsyslog wild card include files

Post by mcapra »

The short answer for this is that it's not possible for most rsyslog distributions. The option to include files on a wildcard is included in version 8 which is not yet included in most of the big-name repositories to be installed via yum/apt.

See this thread for more information:
https://support.nagios.com/forum/viewto ... 38&t=40335
Former Nagios employee
https://www.mcapra.com/
Locked