← All insights
ENGINEERING JOURNAL / Linux Operations

Rsyslog TLS Forwarding: Follow Delivery and Queue Evidence

Separate rsyslog TLS authentication from queueing and remote ingestion, then verify a harmless message reaches the intended logging destination.

Rsyslog TLS Forwarding: Follow Delivery and Queue EvidenceRsyslog TLS Forwarding: Follow Delivery and Queue Evidence — conceptual 3D-style vector showing Local event, Action queue, TLS transport, Collector input, Search index, Certificate name.. Conceptual teaching illustration; connections show the investigation flow rather than a vendor deployment topology.CLOUVENIX / LINUX OPERATIONSRsyslog TLS Forwarding: Follow Delivery and Queue Evidence01Local event02Action queue03TLS transport04Collector input05Search index06Certificate nameConceptual investigation flow / Rsyslog TLS Forwarding: Follow Delivery and Queue Evidence
Rsyslog TLS Forwarding: Follow Delivery and Queue Evidence — conceptual 3D-style vector showing Local event, Action queue, TLS transport, Collector input, Search index, Certificate name.

Context

A machine records local events, yet the central search tool shows nothing new. Rsyslog forwarding contains several boundaries: rule matching, an output action, any action queue, transport authentication and collector ingestion. A successful TCP connection proves only part of that path.

Prepare the sender and collector identifiers, rsyslog versions, approved port, certificate names and expected destination index. Use a unique harmless marker instead of a production message containing personal data. Confirm the support team can inspect both ends or has a named collector owner; sender-only evidence cannot establish ingestion success.

Inspect the complete forwarding path

  1. Read the specific ruleset and forwarding action. Confirm that the test event reaches this action and is not discarded or rerouted earlier. Run rsyslogd -N1 to validate configuration syntax using the distribution's installed binary. Syntax success does not validate certificate trust, collector availability or matching business events.
  2. Review transport settings together. The upstream omfwd documentation distinguishes the stream driver from its mode: selecting a TLS-capable driver alone is not sufficient to enable TLS. Compare the configured authentication mode, trusted CA and permitted peer name with the intended collector certificate. Do not replace peer verification with anonymous transport merely to clear an error.
  3. Inspect per-action queue configuration and any available internal statistics. A forwarding action can be suspended while local logging still works. Determine whether its queue is memory-only or disk-assisted, where spool files belong and what happens when the configured capacity is reached. Filesystem availability and queue sizing are separate from certificate correctness.
  4. Send one unique marker through the approved logging facility, then ask the collector owner to locate the same marker in receiver and ingestion evidence. Record timestamps and the intended index. Allow for the pipeline's documented processing delay, but do not assume an unbounded delay means delivery will eventually occur.

An illustrative certificate mismatch

In an illustrative estate, a collector is replaced behind the same address, but its certificate presents a different name. Sender-side actions repeatedly suspend and retry. The queue grows while local system logging continues normally. A healthy local logfile and a reachable port would both be misleading acceptance checks for this incident.

EvidenceNext inspectionMeaning
Local marker absentInput and ruleset routingEvent never reached forwarding
TLS peer verification failsCA chain and permitted peerAuthentication boundary
Queue grows during suspensionAction errors and spool capacityDelivery is deferred locally
Receiver has marker, index does notCollector parsing and routingDownstream ingestion boundary

Correct and prove delivery

Restore the demonstrated trust, route or collector configuration through its owner. Preserve queue contents and understand replay behavior before restarting or moving spool files. Rsyslog queueing can improve decoupling, but a queue is not an unlimited retention system and does not by itself promise an end-to-end delivery guarantee.

Repeat the marker test and confirm the queue drains without recurring suspension. Verify both a current event and an older queued event when applicable. Check for duplicates in the collector so downstream users understand the observed delivery behavior during recovery.

Maintain a logging procedure

Monitor action suspension, queue occupancy, spool-space pressure and collector freshness separately. Document certificate renewal ownership and the expected peer identity. Retain a marker-test procedure, escalation contact and queue-handling precautions in the logging SOP. Clouvenix Linux administration can help connect sender configuration with collector acceptance evidence.

Technical reference

Rsyslog forwarding, TLS driver and queue concepts.