1

I have a app that store the logs under /var/log/app and the logs have the name format appserver-date.log. I need forward this logs with rsyslog to another server running rsyslog. I look something about imfile but can I do some "wildcard" configuration with imfile?

0

Apparently, rsyslog 8.5 and later support wildcards in $InputFileName (see @Ian's answer to https://serverfault.com/questions/500724/wildcard-support-for-inputfilename-in-rsyslog).

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.