Skip to main content

Overview

Zylon supports internal log storage and external log delivery through syslog and HTTP.
  • Syslog delivery is intended for SIEM applications and log collectors that accept syslog or CEF events.
  • HTTP delivery is intended for structured ingestion endpoints, cloud log destinations, and customer-managed collection pipelines.
  • Delivery is asynchronous.
  • With failurePolicy: "drop", delivery is designed to stay off the critical request path when queues are full.
  • Delivered events can be filtered by action patterns and organization IDs.
  • Stored logs stay in the customer’s Zylon deployment unless external log delivery through syslog or HTTP is enabled.
Configure these settings through the Zylon Helm values YAML. The chart maps values to backend runtime settings internally; customer configuration should use the YAML keys shown here. For governance, auditability, EU AI Act traceability support, evidence preservation, and retention guidance, see Auditability & AI Governance: Logging, Evidence, and SIEM Delivery. For manual log retrieval, see Backoffice API: Logging.

At a glance

Syslog and HTTP delivery can be enabled at the same time. When both are enabled, Zylon dispatches matching logs to both destinations. Filters, failure policy, queue, and batch settings are configured separately for each delivery method but follow the same behavior.

Before you configure delivery

  • Confirm the collector endpoint is reachable from the Zylon backend.
  • Confirm host or URL and port.
  • Select transport and format.
  • Decide TLS certificate verification behavior.
  • Configure collector-side input, index, parser, or ingestion route.
  • Understand retention requirements in both Zylon and downstream systems.
  • Review filters so required audit events are not excluded.

Choose a delivery channel

Storage and retention

Internal log storage is controlled under logging.storage.

Storage keys

Retention keys

Internal log cleanup is controlled by the cleanup scheduler under zylonBackend.scheduler.cleanup. Scheduler settings: Under logging:
External collectors such as SIEM platforms, syslog receivers, HTTP collectors, and data lakes have independent retention settings.
Stored log cleanup is off by default. The 180 day value applies only after both the cleanup scheduler and stored log cleanup are enabled.
Log retention cleanup uses the same cleanup cron and timezone settings as hard delete cleanup. Review Hard delete cron configuration before changing the shared cleanup schedule.

Syslog delivery

Syslog delivery sends formatted log records to a socket collector over TCP, TLS, or UDP. Use rfc5424_json for structured syslog pipelines. Use cef when the collector has a native CEF input.
UDP is best-effort. It does not use stream framing and does not retry the current batch on write failure.

Supported syslog matrix

Backend tests confirm both syslog formats with tcp, tls, and udp.

Syslog keys

Under logging.delivery.syslog:
Optional filter, delivery, queue, batch, and TLS settings are configured under their matching nested blocks in logging.delivery.syslog.Under filters:Under delivery:Under delivery.reconnect:Under delivery.queue:Under delivery.batch:Under tls:

Syslog full example

Syslog simplified example

HTTP delivery

HTTP delivery sends structured JSON records to an HTTP collector. Use it for ingestion gateways, data lakes, or pipelines that transform Zylon’s canonical payload downstream. The supported HTTP format is canonical_json. The schema value is zylon.canonical_json.v1. HTTP supports POST, optional bearer authentication, static headers using Header=Value or Header: Value, retries for network errors and HTTP 5xx responses, and no retry for HTTP 4xx client errors. Vendor-specific transformations should happen at the collector or ingestion layer.

HTTP keys

Under logging.delivery.http:
Optional authentication, filter, delivery, queue, and batch settings are configured under their matching nested blocks in logging.delivery.http.Under auth:Under filters:Under delivery:Under delivery.retry:Under delivery.queue:Under delivery.batch:

HTTP full example

HTTP simplified example

Filtering delivered events

Syslog and HTTP delivery use the same filter behavior under filters. Evaluation order:
  1. Exclude action patterns.
  2. Include action patterns.
  3. Included organization IDs.

Delivery behavior

The delivery pipeline is:
  1. Zylon emits a structured log event.
  2. Delivery filters decide whether to deliver it externally.
  3. The event is normalized with severity, outcome, and actor metadata.
  4. The event is formatted as syslog, CEF, or canonical JSON.
  5. The formatted payload is placed on the async delivery queue.
  6. The delivery worker sends the event to the configured destination.
  7. Reconnect or retry behavior applies when delivery fails.

Operational controls

Keep all Zylon backend nodes synchronized to a trusted time source such as NTP. The Helm chart sets the cleanup scheduler timezone to UTC by default; if the runtime setting is omitted outside Helm, the backend uses the server JVM time zone. Log records should be reviewed in UTC for cross-system forensic correlation. Treat changes to logging.storage, logging.delivery, filters, retention, and collector destinations as auditable deployment changes. Capture approvals and diffs in GitOps, change management, Kubernetes audit logs, or the infrastructure audit system used by the customer. Delivered payload schemas use markers such as zylon.rfc5424_json.v1 and zylon.canonical_json.v1. SIEM parsers should route by schema marker and validate parser compatibility during upgrades.

Failure policies

failurePolicy: "block" can slow requests when the delivery queue is full. Use it only after sizing queues and confirming collector availability.
Disk-backed external delivery spooling is not implemented.

Queue and batching

For syslog over UDP, the maxEvents value under delivery.batch is forced to 1, because one datagram carries one event. For HTTP, multi-event batches are delivered as a JSON array.
Queue and batching settings already have production defaults. If your HTTP destination, SIEM, or log collector does not require specific values, leave the defaults unchanged. Customize them only when your environment needs different throughput, latency, or burst handling.

Reconnect and retry

Syslog reconnect

TCP and TLS syslog delivery lazily opens a socket, reuses it, and retries the current batch once on a fresh connection after write failure. If retry fails, the reconnect backoff window applies.

HTTP retry

HTTP delivery reuses one HTTP client and retries failed requests according to retry settings. HTTP retries network exceptions and HTTP 5xx responses. HTTP 4xx responses are treated as client errors and are not retried.

TLS configuration

Local or lab deployments may disable certificate verification. Production deployments should enable certificate verification when the collector has a trusted certificate path. Use caFile under tls when the collector uses a private CA.

Local validation

  1. Enable one delivery channel.
  2. Apply configuration.
  3. Trigger an API action that emits a log, such as project creation or API token creation.
  4. Query the collector.
  5. Confirm the expected event, action, log.id, and actor fields appear.
  6. Check backend logs for delivery warnings.
Validation queries depend on your collector. Use whichever search or inspection tool your destination provides, then confirm one of these payload markers appears:
  • zylon.rfc5424_json.v1 for RFC 5424 JSON syslog payloads.
  • CEF:0|Zylon for CEF payloads.
  • zylon.canonical_json.v1 for HTTP payloads.
  • A known action such as ws.project.create.
For reconnect testing, stop the collector, trigger events, restart the collector, then confirm new events arrive after the reconnect backoff.

Troubleshooting

For syslog and SIEM:
  • Prefer TLS where supported.
  • Prefer rfc5424_json for structured syslog ingestion unless the collector requires CEF.
  • Use octet_counting or newline according to the collector input.
  • Enable certificate verification in production where possible.
  • Keep failurePolicy: "drop" unless strict delivery completeness is more important than request latency.
  • Keep queue and batch defaults unless your destination requires different throughput, latency, or burst handling.
  • Keep stored log retention at or above 180 days unless legal, security, and operations teams approve a shorter period.
For HTTP:
  • Use canonical_json.
  • Keep vendor-specific transformations at the ingestion layer.
  • Use bearer authentication and static headers when required by the collector.
  • Tune retry settings for the collector’s availability profile.
  • Confirm downstream retention in the customer-controlled collector.