Verify a new configuration
- Wait about a minute after clicking Publish, so the configuration is loaded.
- Produce the event on purpose:
- For a
trace.*event, send a test email through xorlab. - For an
audit.*event, do the action in XCC — log in, open a message, release a message from quarantine. - For
sys.*, publish any configuration change.
- For a
- Look for the record at the destination: your SIEM’s search, the mailbox you configured, or the file you named.
- If it is not there, search the container logs for
LOG-, then work down the tables below.
Search the container logs for LOG- lines
Logback reports its own problems into the log of the container it runs in, prefixed withLOG-.
- Open Monitoring in the XCC side menu. It opens Grafana, which holds the collected container logs; see Monitoring Overview. Access requires the Monitoring User role, see List of Built-in Roles.
- Go to Explore.
- Select the container whose configuration you edited, using the
container_namelabel. The container names per component are in Operation Reference. - Search for
LOG-.
When nothing arrives
When something arrives but looks wrong
Keep a TCP connection alive
A firewall or load balancer between xorlab and the destination may drop an idle TCP connection, which shows up as records going missing after quiet periods. TheKeepAliveAppender wraps another appender and makes it emit a periodic no-op, which keeps the connection up.
This is not needed for normal operation. Add it only if you have TCP connection problems.
logback-audit.xml