References > References > Variables and examples > Syslog alert variables

Syslog alert variables

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 and examples.

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}

Status of device triggering alert

${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 Up score for Nodes and Interfaces is zero.

${Version}

Version of the SolarWinds software package