Experimental. The three formats are implemented and tested, but not against every collector they might meet. Send a test batch and read what your collector actually ingested before wiring dashboards to it.
Pick the sink that matches your collector
ITX UserOps → Integrations — the streaming section offers three sinks:
| Sink | Wire format | Typical collector |
|---|---|---|
| Syslog | RFC syslog lines over UDP or TCP, or the host's own syslog daemon (local) | rsyslog, syslog-ng, a network syslog relay |
| CEF | CEF payloads with a syslog header | ArcSight, Splunk with CEF sourcetypes, Microsoft Sentinel's CEF connector |
| HTTPS | JSON lines (application/x-ndjson), POSTed in batches | Datadog, Grafana Loki, Elastic, any HTTP intake |
Configure the one your collector speaks: host and port (default 514) plus UDP/TCP for the syslog pair — local writes through the server's own syslog daemon instead, useful when the host already forwards — or the intake URL for HTTPS, with optional auth as a bearer token or a custom header (Datadog's DD-API-KEY, for example). Redirects are deliberately not followed on the HTTPS sink: a redirect would re-send your token to whatever host the collector named.
Set the severity floor before enabling
min_severity is the setting that controls the bill. Streaming every Info event from a busy site into a per-event-priced SIEM is a cost nobody forecast — set the floor to Notice or Warning unless you know you want the login-by-login feed. The Activity Log keeps everything locally either way; the floor only limits what leaves the site.
Then enable the stream.
How delivery works — and why cron matters
Events are not sent from your visitors' requests. They buffer in memory, are appended to a spool at the end of the request, and a one-minute cron job drains the spool with real, blocking sends whose responses are read. The worst case for a visitor is one extra option write; the worst case for the feed is the spool filling while cron is dead.
Two operational consequences:
- WP-Cron must actually run. On low-traffic sites or
DISABLE_WP_CRONsetups, make sure a real cron hitswp-cron.phpevery minute — see constants. - The screen reports the feed's health — last delivery, failures, spool state. A feed that stopped is shown as stopped, and
itxuo_logstream_failedfires for wiring into your own monitoring, so "silently dead since March" is a state this feature refuses to have.
Verify at the collector
Enable, perform one loggable action (sign out and in), wait a minute for the drain, and search your collector for it. Check the parsed fields, not just arrival: syslog facility and hostname, CEF field mapping in ArcSight/Splunk, JSON keys in Datadog/Loki. Adjust the sink or your collector's parser now, while the volume is one event.
Worked example: Datadog
- Sink: HTTPS. URL:
https://http-intake.logs.datadoghq.com/api/v2/logs(use your Datadog site's domain). - Auth: custom header, name
DD-API-KEY, value your API key. min_severity: Notice.- Sign in, wait a minute, then in Datadog:
source:*filtered by your site's hostname — the events arrive as structured JSON lines, one object per event.
The rsyslog case is even shorter: sink Syslog, UDP, the relay's host and port — and confirm the relay's firewall accepts your web server's address.
Switching it off
Disable it on the screen — or, when the collector is the thing that is down and you need certainty without database access:
define( 'ITXUO_DISABLE_LOG_STREAM', true );
in wp-config.php stops streaming immediately without touching settings. See kill switches.
Also worth reading
- Integrations overview — the whole machine surface in one map
- Setting up outbound webhooks — the fire-and-forget counterpart for triggering automations
- Tamper evidence — why the local log remains the authoritative record