Syslog alert variables in the SolarWinds Platform
This topic applies to the following products if you are NOT using the Orion Log Viewer to monitor syslogs.
DPAIM — NAM — NCM — NPM — NTA — SAM — SRM — VNQM
The following variables can be used in syslog alert messages. Each variable must begin with a dollar sign and be enclosed in curly braces as, for example, ${VariableName}.
Syslog alerts also support the use of Node alert variables.
For more information on the use of variables, see Variables in the SolarWinds Platform.
Syslog date and time variables
|
Syslog Date/Time Variable |
Description |
|---|---|
|
${AbbreviatedDOW} |
Current day of the week. Three character abbreviation. |
|
${AMPM} |
AM or PM corresponding to current time (before or after noon) |
|
${D} |
Current day of the month |
|
${DD} |
Current day of the month (two digit number, zero padded) |
|
${Date} |
Current date. (Short Date format) |
|
${DateTime} |
Current date and time. (Windows control panel defined "Short Date" and "Short Time" format) |
|
${DayOfWeek} |
Current day of the week. |
|
${DayOfYear} |
Numeric day of the year |
|
${H} |
Current hour |
|
${HH} |
Current hour. Two digit format, zero padded. |
|
${Hour} |
Current hour. 24-hour format |
|
${LocalDOW} |
Current day of the week. Localized language format. |
|
${LongDate} |
Current date. (Long Date format) |
|
${LocalMonthName} |
Current month name in the local language. |
|
${LongTime} |
Current Time. (Long Time format) |
|
${M} |
Current numeric month |
|
${MM} |
Current month. Two digit number, zero padded. |
|
${MMM} |
Current month. Three character abbreviation. |
|
${MediumDate} |
Current date. (Medium Date format) |
|
${Minute} |
Current minute. Two digit format, zero padded. |
|
${Month} |
Full name of the current month |
|
${N} |
Current month and day |
|
${S} |
Current second. |
|
${Second} |
Current second. Two digit format, zero padded. |
|
${Time} |
Current Time. (Short Time format) |
|
${Year2} |
Two digit year |
|
${Year} |
Four digit year |
Other Syslog variables
|
Syslog Variable |
Description |
|---|---|
|
${Application} |
SolarWinds application information |
|
${Copyright} |
Copyright information |
|
${DNS} |
Fully qualified node name |
|
${Hostname} |
Host name of the device triggering the alert |
|
${IP_Address} |
IP address of device triggering alert |
|
${Message} |
Content of the syslog message |
|
${MessageType} |
The name of the triggered alert |
|
${Severity} |
A network health score indicating node states as follows: INTERFACE_UNKNOWN = 1 INTERFACE_WARNING = 1 INTERFACE_DOWN = 1000 NODE_UNKNOWN = 1000000 NODE_WARNING = 1000000 NODE_DOWN = 100000000
The |
|
${Version} |
Version of the SolarWinds software package |