Forum Discussion

soymanue's avatar
soymanue
Icon for Nimbostratus rankNimbostratus
Oct 03, 2013

APM Policy Logging Alert

Hello It is possible to log alarms with an APM Policy using "Logging Alert" boxes. You may define the Log Message and the you select the variables that should be logged. This way, when you check the syslog events the messages are shown in separate lines: Oct 3 11:57:43 porthos notice apd[26322]: 01490143:5: 0afff399: Logging Agent: THE USER SELECTS THIS IP ADDRESS: Oct 3 11:57:43 porthos notice apd[26322]: 01490113:5: 0afff399: session.logon.last.hostname is 10.1.1.1

 

Is it possible to send it in a single line? Oct 3 11:57:43 porthos notice apd[26322]: 01490143:5: 0afff399: Logging Agent: THE USER SELECTS THIS IP ADDRESS: 10.1.1.1 I've tried to use this log message but it doesn't work:

 

THE USER SELECTS THIS IP ADDRESS: session.logon.last.hostname THE USER SELECTS THIS IP ADDRESS: %session.logon.last.hostname THE USER SELECTS THIS IP ADDRESS: %{session.logon.last.hostname}

 

Assinging an user variable before hasn't worked either.

 

No RepliesBe the first to reply