Skip to main content
Appenders determine where and how log events are recorded in the xorlab Security Platform (XSP). They route log data to destinations like files, consoles, remote servers, or databases and specify the format for storing this information.

Important Tips

  • Be sure to configure the appender before having it referenced from the logger. The name attribute of the appender should match the appender-ref attribute of the logger.
  • When multiple appenders are referenced by a single logger, the event is logged to all specified destinations, ensuring redundancy and flexibility in log storage.
  • A single appender can be used to log events with any event id.
  • XSP logging is built with the Logback framework. For details on each appender, refer to the Logback Documentation

Appenders

Syslog

The syslog appender sends log events to remote destinations and is commonly used to centralize XSP logs in a SIEM. The following example demonstrates how to configure the syslog appender to send all audit events, formatted as JSON, to the host syslog.xorlab.com:
The following configuration parameters are supported by the syslog appender:

Syslog with TCP

To send the syslog messages via TCP, you can set the syslog appender’s protocol to TCP.
AsyncAppenderWhen using TCP as the protocol for SyslogAppender, it’s required to use AsyncAppender. This prevents system impairment if the external destination becomes unreachable.

Syslog with TLS

To securely transmit logs to other servers, you can use the TLS protocol by setting the syslog appender’s protocol to SSL.
AsyncAppenderWhen using SSL as the protocol for SyslogAppender, it’s required to use AsyncAppender. This prevents system impairment if the external destination becomes unreachable.
See the example below:

File

The File appender writes log events to a specified file. It’s a straightforward method for persistent log storage. This appender is ideal for keeping long-term logs or when logs need to be archived.
Not supported for XSP SaaSThe file appender is only available for on-premise deployments of XSP. It is not supported for customers using xorlab’s cloud services.

Rolling File

The Rolling File appender extends the File appender, automatically handling file rollovers based on size or time. This is useful for managing log files without manual intervention, preventing them from becoming too large.
Not supported for XSP SaaSThe rolling file appender is only available for on-premise deployments of XSP. It is not supported for customers using xorlab’s cloud services.

Email

The Email appender sends log events via email. This is particularly useful for critical alerts that require immediate attention. It’s configured to send emails when certain log events are triggered. In the example below, an email containing a summary of the analysis is sent to example@xorlab whenever someone reports an email.