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?


Apparently, rsyslog 8.5 and later support wildcards in $InputFileName. See @Ian's answer to 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.