- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are required to intercept certain events related to security (user login/logout, password change etc.) and export custom messages to syslog. We use SAS Environment Manager (2.4): we have created alerts to intercept targeted events and created custom escalation scheme to export event occurence to syslog. But what is exported to syslog does not meet our requirements, messages need to have a custom format.
Could anyone suggest a solution for exporting custom messages tot syslog?
Environment: SAS 9.4 / Red Hat Linux 6.5
Many thanks!
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
As you've seen, the escalation scheme doesn't offer customized formatting of messages to syslog.
As an alternative, you could consider having your alert trigger a script which in turn would write out whatever you wanted to syslog. I'm not personally familiar with the practice, but I'm told you can also have syslog itself watch files directly, and generate messages of your own creation when it detects certain strings.
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
As you've seen, the escalation scheme doesn't offer customized formatting of messages to syslog.
As an alternative, you could consider having your alert trigger a script which in turn would write out whatever you wanted to syslog. I'm not personally familiar with the practice, but I'm told you can also have syslog itself watch files directly, and generate messages of your own creation when it detects certain strings.
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Mark!