Collecting Windows event logs, journald and syslog with OpenTelemetry

Bringing Windows event logs, journald and syslog from network devices into one OpenTelemetry Collector pipeline, and the component stability, host dependencies and security decisions to settle before rollout.

On this page

How to collect Windows event logs, journald and syslog with OpenTelemetry

Operating system and network device logs usually sit outside the application pipeline, so teams end up running a second shipper beside the OpenTelemetry Collector. The Collector can bring several of these sources in through its receivers, which lets Windows event logs, journald and syslog travel through the same processors and exporters as application telemetry. Before you design around them, check the maturity of each receiver. The Windows event log receiver is beta for logs and is not supported on Linux or macOS. The journald receiver is alpha for logs, is not supported on macOS or Windows, and requires the journalctl binary to be present on the host. The syslog receiver is beta for logs. Confirm the current stability level in each component's README before you commit, because these levels change between releases.

Teams usually need these receivers when they want one routing, redaction and export layer for logs from servers, workstations and network gear, especially where a single back end must receive everything. The Windows receiver fits Windows servers that already produce security and system channels you need to forward. The journald receiver fits Linux hosts where logs are kept in the systemd journal rather than in files. The syslog receiver fits switches, firewalls and appliances that can only send syslog. Plan the listening side carefully: a syslog listener must bind to an address your network can reach, and it must be protected from unauthorized senders, since the Collector's own security guidance recommends encryption and authentication for exposed endpoints.

A filelog receiver or your existing shipper may still be the better fit. If the host already writes the logs you need to plain files and a mature shipper handles parsing, buffering and delivery well, adding a beta or alpha receiver creates a new dependency with little gain. Tailing files with the filelog receiver is often simpler for Linux services that log to disk. Ask your platform team which parts of the current shipper's behavior you must keep, including checkpointing, retries and multiline handling, and test those behaviors against the chosen receiver in a staging environment before you retire anything. Confirm with the vendor or the component README whether a receiver supports the fields and encodings your analysts rely on.

Receiver options and when each fits

This table compares the Windows event log, journald and syslog receivers on platform support, log stability, dependencies, typical placement and the settings that shape what each one collects. Use it to narrow the choice, then confirm current option names and defaults in each component README before you write configuration.

Decision pointWindows event log receiverJournald receiverSyslog receiver
Platform supportWindows hosts only, not supported on Linux or macOSLinux hosts with systemd, not supported on macOS or WindowsRuns wherever the Collector runs, used mainly to receive network device logs
Log signal stabilityBeta for logsAlpha for logsBeta for logs
Runtime dependencyReads Windows event channels on the host itselfRequires the journalctl binary available to the CollectorNo host binary needed, opens a listening socket
Typical placementAgent on each Windows server or workstationAgent on each Linux host so local journal files are readCentral gateway or dedicated collector reachable by network devices
Key configuration choiceWhich event channels to read, such as Security, System and ApplicationWhich systemd units or journal fields to include or filterProtocol variant, transport, and the listening address and port
Network exposureNone, unless exported over the networkNone, unless exported over the networkOpens a listener, so bind address and access controls need review
Where to confirm detailsCheck the Windows event log receiver README for current channel options and defaultsCheck the journald receiver README for journalctl usage and unit filtersCheck the syslog receiver README for protocol options, listener settings and defaults

Setup sequence for OS and device logs

This sequence takes Windows event logs, journald and syslog from undefined sources to a verified pipeline, adding one receiver at a time so each source can be tested and fixed in isolation. The result is a Collector per host class that ships operating system and device logs to your back end with resource attributes and redaction applied.

  1. Confirm the distribution includes the receivers

    Before installing anything, check that the Collector distribution you plan to run includes the Windows event log, journald and syslog receivers. The Contrib distribution carries them, while smaller builds may not, so confirm this against the release notes and component list for the version you choose. Ask whether the Windows event log receiver, journald receiver and syslog receiver are included, and note their stability levels from each component README. Done when a test run of the chosen binary reports all three receivers as available.

  2. Install the Collector on each host class

    Install the Collector binary that matches each host class: Windows servers, Linux hosts running systemd, and any dedicated syslog listener host. Verify the release artifact with its published SHA256 checksum and review the SBOM before deployment, as the release pages describe. Run the Collector as a dedicated service user on Linux, and record which user owns the service for later permission checks. Done when the service starts with a minimal configuration and writes its startup log without errors.

  3. Enable the Windows event log receiver first

    Configure the Windows event log receiver on one Windows host with a single channel, such as Application or System, and leave other channels out until this works. Run the Collector under an account that can read the chosen channels, and confirm that the account has the required read access before starting. Note that the receiver is beta for logs and does not run on Linux or macOS, so keep Windows configuration in its own file. Done when a test event written to the channel appears in debug output with its channel and event ID.

  4. Enable the journald receiver and check journalctl access

    On a Linux host, configure the journald receiver for one unit or the full journal, depending on your scope. The journald receiver requires the journalctl binary, so first confirm that journalctl runs for the Collector service user with a command such as journalctl with a limited output option. If the service user cannot read the journal, add it to the group that the system's journal access policy grants, then restart the service. Done when the Collector emits a test journal entry from a service you started during the test.

  5. Enable the syslog receiver for network devices

    Configure the syslog receiver on the dedicated listener host with one protocol and one listening port, matching what your network devices send. Bind the listener to an address that your firewall allows, since server components bind to localhost by default in current Collector versions. Confirm the device's expected format, such as RFC 3164 or RFC 5424, with the device documentation before choosing a parser. Done when a test message sent from a permitted source appears in debug output with the expected source address and body.

  6. Add resource attributes and redaction processors

    Add processors that attach host, environment and source attributes, so logs from each receiver can be filtered and grouped in the back end. Add a redaction processor to remove fields that carry credentials or personal data, following your data handling rules and the OpenTelemetry guidance on the redaction processor. Keep the configuration files for each host class in version control and review changes before rollout. Done when a sample log from each source carries the expected attributes and the sensitive test value no longer appears in output.

  7. Route to the back end and verify with debug

    Add an OTLP exporter that sends logs from all three receivers to your back end, and keep a debug exporter in the same pipeline during testing. Send a test event from each source and confirm it reaches both debug output and the back end with matching attributes. Remove the debug exporter, or reduce its verbosity, before production so sensitive content is not written to local logs. Done when each source produces a record in the back end that matches the debug output, and the Collector reports no export errors over a short observation period.

Receiving syslog from network devices safely

Syslog receivers are the one place in this pipeline where the Collector opens a network listener that other machines write to, so the listening address and protocol must be chosen on purpose. Since Collector v0.110.0, server components bind to localhost by default rather than 0.0.0.0, so a syslog receiver will only accept messages from the host it runs on until you set an explicit listen_address (for example, a specific interface IP and port) in the syslog receiver configuration. Confirm the transport your devices use, UDP, TCP or TLS, against the options in the syslog receiver README, and confirm the RFC format the receiver expects. Many network devices send legacy formats, and a mismatch shows up as unparsed or dropped messages rather than a clear error.

Source identification and time are where syslog pipelines usually go wrong. UDP senders give you no delivery acknowledgment, and the source address seen by the Collector may be a NAT or relay rather than the device, so decide which attribute will identify each device and check that it survives the path to the gateway. Device clocks are often unsynchronized or set to local time without a zone, which places events out of order or in the wrong hour. Ask each device owner whether NTP is enforced, decide whether the receiver or a processor should set the timestamp when the device's value is missing or implausible, and test with a device whose clock is deliberately wrong before you rely on time-based searches.

Volume scales with the number of devices, not with the number of Collectors, so plan gateway sizing from a device inventory and a measured message rate per device. A burst from a firewall or switch during an incident can fill the receiver's buffers, and UDP drops messages silently when the Collector cannot keep up. Size memory and queues for peak rather than average, watch refused-data and queue signals during a load test, and place syslog receivers on a dedicated gateway pool if other signals share the Collector. Treat any listener opened to the network as an access decision, and restrict it to known source ranges at the network layer.

Security and operational risks to plan for

Operating system logs often carry the most sensitive records a host produces, and the Collector becomes one more component that can leak them or fail quietly. The cards below cover the controls to decide on before rollout and the checks to repeat after changes.

Least-privilege access to log sources

The Collector process needs read access to the Windows Security log and to journal data, but that access should be granted deliberately rather than inherited from a broad administrative account. On Linux, check which user runs the Collector and whether it can read the journal without elevated rights. On Windows, confirm the service account can read the channels you configure and nothing beyond them. Document the grant so a later audit can trace who can read security events.

Encryption and authentication for syslog and export

Network syslog traffic is often sent over UDP without encryption, so anyone on the path can read or spoof messages. Decide whether devices can use TLS, restrict which sources the syslog receiver accepts, and require authentication on exporter connections where the back end supports it. Authenticator extensions can check incoming OIDC credentials on receivers and add credentials to outgoing requests. Confirm each choice against the device and back-end documentation in your environment.

Redacting sensitive fields with the redaction processor

Event logs routinely contain usernames, IP addresses, command lines and occasionally tokens or card data embedded in messages. The redaction processor can remove sensitive attributes before data leaves the host, which keeps those values out of every downstream store. Build a list of fields to redact from sample events, test it against real log lines in a non-production pipeline, and check that the processor is placed before any exporter that writes to shared storage.

Collector security practices

Securing Collector configuration files

The configuration file holds endpoints, credentials and sometimes tokens for the exporters, so it deserves the same handling as other service secrets. Keep it out of world-readable paths, avoid plain-text credentials in files that go into version control, and load secrets from a managed store where possible. Review file permissions on both Windows and Linux hosts after each deployment, because a default install path may differ from the one you planned.

Building only the components you need

A stock contrib distribution includes many receivers and processors that a host log pipeline never uses, and each one adds code that must be patched. Use the Collector Builder to produce a binary containing only the Windows event log, journald, syslog, redaction and export components your design requires. Pin the component versions in the manifest and rebuild when a security fix ships. Ask your build team how they will verify signatures and checksums of the artifacts they use.

Monitoring receiver health after patches

Windows updates, service restarts and journald configuration changes can silently stop a receiver from reading its source, and the pipeline may keep running without sending errors. Alert on the absence of expected log volume from each host, not only on Collector process status. Add a post-patch check that confirms each log source still produces events, and record the expected channel and unit names so a renamed source is caught quickly.

Questions teams ask before collecting OS and device logs

Should we use the OpenTelemetry receivers or keep our existing log shipper?

Keep the existing shipper if it already reaches your back end reliably and your team has no reason to change it. Move to OpenTelemetry receivers when you want one Collector pipeline for traces, metrics and logs, one set of processors and one place to change routing. The Windows event log, journald and syslog receivers are useful in that model, but their stability levels are not the same, so check each component's README before you commit. A common middle path is to run both for a period and compare event counts, parsing results and dropped data before you retire the old shipper.

What drives the effort and cost of collecting OS and device logs?

The main drivers are the number of hosts, the number and variety of log sources, how much parsing each source needs, where the logs must be routed, and who will own the result afterward. Windows hosts, Linux hosts running journald and network devices sending syslog each need their own configuration and testing. Parsing and routing rules multiply the work when every source has a different format or a different destination. Ask any provider to break the quote into discovery, configuration per source type, back-end routing, verification and handover, and to state which items are one-time and which recur, such as upgrades and rule changes.

What does our team need to provide for this work?

Plan for three groups of inputs. First, host access: administrative or service accounts on Windows and Linux machines, and a way to install and update the Collector. Second, network paths: firewall rules that let hosts and network devices reach the Collector on the ports you choose, and that let the Collector reach the back end. Third, owners: someone who approves the back end and index design, someone who owns the log content and retention rules, and someone who signs off on which fields may leave the network. Missing any of these usually delays the pipeline more than the configuration itself.

Can our own team build this without an outside partner?

Yes, if you have engineers who already run Collectors and understand your operating systems, network devices and back end. The skills needed are Windows event log structure, systemd and journald behavior, syslog formats from each device vendor, Collector configuration and testing. Teams often underestimate the verification and ownership work: proving that no events are lost during restarts, that timestamps are correct and that sensitive fields are removed. A partner can take on part of that load under a fixed scope. Your team can also do it in stages, starting with one source type, and bring in help where the gaps appear.

How long does it take to reach a verified log pipeline?

The timeline depends on how many source types you have, how much each one needs parsed, how quickly the back-end and data owners respond, and how far the change has to go through your approval process. A single Windows event channel to one back end is a very different job from several Linux fleets, Windows servers and vendor syslog feeds going to separate destinations. Ask for a schedule that lists each source type, its acceptance test, the owner who signs off and the dependencies on network changes. A pipeline counts as verified only when the expected events arrive, parsed fields match your schema and the team has tested a restart.

How do the receiver stability levels affect support?

Stability levels tell you how much change to expect and how much you can rely on the component as shipped. At the time of writing, the Windows event log receiver is beta for logs, the syslog receiver is beta for logs, and the journald receiver is alpha for logs. Beta components are generally suitable for production use with testing and pinned versions, while alpha components should be piloted first and watched closely across upgrades. Also confirm the platform limits: the Windows receiver does not run on Linux or macOS, and the journald receiver needs the journalctl binary on the host. Ask any provider how they will handle breaking changes, which versions they pin and who tests each Collector upgrade.

What should we check on the hosts and devices before starting?

Check which Windows channels and event sources you need, whether the journald host has the journalctl binary available to the Collector, and which syslog formats and transports each network device uses. Confirm that the Collector runs with a service identity that can read the log sources without broad administrative rights. Review how logs will carry personal data or credentials, because usernames, command lines and device configuration output can contain sensitive values. Decide whether the Collector listens on network ports and, if it does, how those ports are authenticated and limited to known senders. Confirm each item against the current component README and your own environment before you design the configuration.

How OS and device logs flow into the pipeline

The diagram starts with three sources: Windows hosts read through the Windows event log receiver, Linux hosts where the journald receiver shells out to journalctl, and network devices sending syslog to a syslog receiver. The device network sits behind a trust boundary, so the syslog listener is the point where you confirm who can reach it. All three paths meet in one Collector that runs processors before exporting to your chosen back end. Check the receiver stability levels and the journalctl binary on each Linux host before you rely on this path.

Three OS and device log sources converge on one Collector before export.

How DeployOpen works on this

DeployOpen plans, builds and supports OpenTelemetry Collector pipelines that bring Windows event logs, journald and syslog into the same pipeline as your other telemetry, inside infrastructure you control. Each step starts from your sources, your platforms and the back end your teams already use.

How we scope

  • Inventory which Windows channels, journald units and syslog senders must be collected, and which hosts and devices they come from.
  • Confirm the platforms each receiver must run on, since the Windows, journald and syslog receivers have different OS support and stability levels.
  • Agree the written scope, deliverables and timeline before work starts, with support available as an optional retainer afterward.

How we build

  • Configure the windowseventlog, journald and syslog receivers with parsing, resource attributes and routing that fit your existing pipeline.
  • Confirm that journalctl is installed and reachable for the journald receiver, and document the service account permissions it needs.
  • Test each source end to end, including ingestion volume, dropped records and behavior after restarts, before promoting changes.

How we hand over

  • Deliver versioned Collector configuration, the build or distribution used, and a record of the receiver versions and stability levels in use.
  • Document the access model for the Collector, including how syslog listeners are bound and which network sources are allowed to send.
  • Walk your operations team through the runbook for adding sources, rotating credentials and reading receiver health signals.

How we support

  • Review receiver release notes and component README changes before Collector upgrades, since beta and alpha components can change.
  • Retest collection after each upgrade, host change or new device type, and report gaps with fixes.
  • Offer ongoing support, upgrades and continuous testing as a retainer if your team wants DeployOpen to keep the pipeline current.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.