Pcornel
Security · Logging & Monitoring

Syslog

Cheat sheet · https://pcornel.dk/topic.php?topic=4855

Back to the Topic

Answer

Syslog is a widely used event message and transport model in which senders emit facility/severity and message content to local or remote collectors; security reliability depends on the exact message format, transport, buffering, time context and collector path.

Remember

  • Syslog severity ≠ security incident priority.
  • Configured remote syslog destination ≠ delivery, parsing or retention proven.
  • Source configured ≠ required event generated, transported, retained and queryable.
  • Telemetry observation ≠ root cause, intent or complete security state without independent context.

First checks

  • logger -n <collector> -P 514 -T 'test' — send test
  • ss -lntup | grep 514 — listener
  • rsyslogd -N1 — rsyslog config check

Verify in this order

device → syslog (TLS) → collector → SIEM

Where it usually breaks

First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.

Logging & Monitoring → Syslog proof map

BoundaryEstablishDoes not establish
SourceRequired asset/service, audit policy, provider/channel and event classSource inventory alone does not prove event generation
DeliveryLocal queue, transport, collector receipt and timestampsConfigured destination does not prove lossless delivery
PreservationRetention, access, raw record, integrity and provenanceStored record does not prove source truth or complete coverage
InterpretationProvider fields, identity, policy/result and adjacent evidenceEvent presence does not prove intent, causation or root cause
MonitoringQuery/detection plus source and pipeline healthNo alert does not prove no activity or compromise

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4855

Confirmation

Confirm action

Continue?