Syslog Actions
  • 03 Jun 2022
  • 1 Minute to read
  • Dark
    Light

Syslog Actions

  • Dark
    Light

Article summary

Syslog Actions

defineSyslogConnection

Create a connection to a Syslog server.

Property

Value

Description

host

text, expression, variable

Syslog server host name or address (default: localhost)

port

text, expression, variable

Syslog server port (default: 514)

protocol

choice (udp, tcp), text, expression, variable

Syslog protocol (default: udp)

facility

choice (kern, user, mail, lpr, auth, daemon, news, uucp, local0, local1, local2, local3, local4, local5, local6, local7), text, expression, variable

Syslog facility (default: user)

returnVariable

expression, variable

name of the variable to be assigned to the return value

syslog = defineSyslogConnection("localhost", "udp", "local7")

sendSyslog

Send a Syslog message.

Property

Value

Description

syslogConnection*

expression, variable

Syslog connection

level

choice (emergency, alert, critical, error, warning, notice, info, debug), text, expression, variable

Syslog level (default: user)

message*

text, expression, variable

Syslog message

returnVariable

expression, variable

name of the variable to be assigned to the return value

status = sendSyslog(syslog, "emergency", "I've fallen and I can't get up!")

Was this article helpful?

What's Next
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence