BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
zzone
Calcite | Level 5

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Mark_sas
SAS Employee

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

View solution in original post

2 REPLIES 2
Mark_sas
SAS Employee

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

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1198 views
  • 0 likes
  • 2 in conversation