--- title: "Syslog Actions" slug: "syslog-actions" description: "This is a list of actions that can be used in RapidIdentity Connect to interact with method logging, or Syslog." updated: 2022-06-03T13:49:26Z published: 2022-06-03T13:49:26Z canonical: "help.rapididentity.com/syslog-actions" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # Syslog Actions ## 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 | ```actionscript 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 | ```actionscript status = sendSyslog(syslog, "emergency", "I've fallen and I can't get up!") ```