please post your full config so we can evaluate it (make sure to include all
included files)
David Lang
On Thu, 29 Apr 2022, Subrata Dasgupta via rsyslog wrote:
Hi All,
I am new to rsyslog and now facing many issues to configure it.
My main purpose is to execute a script when syslog message is coming from a
specific server which contains a specific string. But mainly I am facing below
issues . I think my configuration is not correct to solve the issue.
1. Messages are not going to /var/log/messages or intended file even if
selectors with facility.priority is defined. In some cases they are going to
/var/log/user file.
2. Every time script are not getting executed. Seems script is executed only if
messages are logged into the /var/log/messages file only.
3. Having trouble to pass arguments even if script is getting executed.
Thanks
Subrata
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.