AIX server's rsyslog (imfile module) is not forwarding custom application logs from a specific folder that has multiple log files generated each and every day. The log file's name pattern differs. I need help forwarding logs from those files and the files that will be generated in future. As of now in the configuration, i have given the wildcard (in $InputFileName) to read the files as ".log." as per the file name's pattern.

The file names are as follows:


The imfile module configuration part is as follows:

$ModLoad imfile
$InputFileName /usr/bada/custom/application/*.log.*
$InputFileTag application1:
$InputFileSeverity info
$InputFileFacility local6

The version of rsyslog is:

rsyslogd 8.4.2, compiled with:
FEATURE_REGEXP:                          yes
GSSAPI kerberos 5 support:               No
FEATURE_DEBUG (debug build, slow code):  No
32bit Atomic operations supported:       Yes
64bit Atomic operations supported:       No
memory allocator:                        system default
Runtime Instrumentation (slow code):     No
uuid support:                            No
Number of Bits in RainerScript integers: 64

This rsyslog is running on the Operating system,

AIX 7.2
New contributor
Nikhil.J is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Nikhil.J is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.