Wazuh log data collection from Windows, Linux and network devices

Wazuh only detects what reaches the server in a usable form. This page covers which log sources to collect, how agents and syslog deliver them, when custom decoders are needed and when to archive everything.

On this page

Wazuh log data collection starts with the sources you choose to collect

Wazuh only alerts on what reaches it, so the first decision in any log collection project is which sources feed the platform and in what form. Most organizations have Windows servers and workstations, Linux hosts, macOS laptops and network devices such as firewalls and switches, and each one produces logs through a different channel. The Wazuh agent collects local events on endpoints and forwards them to the Wazuh server, while devices that cannot run an agent send syslog to the server or are checked through periodic API probes. Agent-based collection and agentless collection are separate paths, and each needs its own verification.

The Wazuh server is where raw events become useful. It analyzes the data that agents and syslog sources send, applying decoders to extract fields and rules to decide which events matter. The Wazuh indexer, a full-text search and analytics engine, stores the resulting alerts, and the Wazuh dashboard is where analysts search and review them. A source that is not configured, or whose events no decoder recognizes, produces nothing an analyst can see, even though the agent is running and the network connection is healthy. That silent gap is the main risk to check for.

A dedicated collection plan is needed before go-live whenever the environment includes several operating systems, custom applications, network devices with vendor-specific log formats, or any regulated data that must be retained for a defined period. The plan should list each source, its log channel or file, the expected volume, the decoder and rule coverage, and who owns the change. Confirm the supported agent operating systems and versions in the Wazuh documentation for your target release before you finalize the list.

How endpoint logs and device syslog reach the Wazuh server

Agents on Windows, Linux and macOS endpoints forward collected events to the Wazuh server, while network devices either send syslog or are polled through the agentless path. The server applies decoders and rules, then passes alerts to the Wazuh indexer, which the dashboard queries. Check where the trust boundary sits and whether an archive path is needed for events that never become alerts.

Log paths from endpoints and network devices into the Wazuh server, indexer and dashboard.

Which collection method fits each log source

This table compares the collection method for each common log source in Wazuh, what each method suits, what it requires on the source and what to confirm for your OS or device versions. Read each row as a starting point, then check the source's logging configuration before you commit to a method.

Log sourceCollection methodWhat it requires on the sourceWhat to confirm first
Windows event channelsWazuh agent reading Windows event logs (Security, System, Application and others)Agent installed, audit policies set so the events you need are generated, enough log retention on the hostWhich event IDs your detection rules need, the audit policy baseline your Windows builds use, and channel size limits
Linux journald and log filesWazuh agent reading journald and listed log filesAgent installed, read permissions on log files, journald storage persistent if you need historyDistribution and systemd version, whether journald is persistent, and log paths used by your applications
macOS unified logsWazuh agent with macOS log collection as supported by your agent versionAgent installed with the required permissions granted on the Mac, and a defined set of log predicatesSupported macOS versions for your agent release, required privacy permissions and which unified log subsystems matter to you
Syslog from network devicesDevices send syslog to a Wazuh server listener, with a decoder matching the vendor formatDevice syslog forwarding enabled, a reachable UDP or TCP listener, and a consistent timestamp and time zoneDevice firmware version, the syslog format it emits, transport it supports and whether message fields match an existing decoder
Custom application logsAgent log file collection with a custom decoder and rulesStable log format, file path and rotation behavior documented, read access for the agentLog format version, field order, whether fields change between releases, and how rotation is handled
Agentless polling of devicesPeriodic API probing or remote command checks run by the Wazuh server, as described in the Wazuh documentationCredentials or API tokens on the device, network access from the server, and an approved service accountWhether the device exposes the API or commands you need, its version, and whether your security policy allows stored credentials
Archive all eventsRetain raw events for review, separate from alertsStorage sized for event volume, retention and access rules agreed in advanceYour retention obligations, the volume your sources generate and who may query archived raw data

Collection decisions by operating system and device type

Windows hosts produce most of their security-relevant activity in Windows event channels, so the first decision is which channels and event IDs to collect and whether the audit policy that generates them is actually enabled. The Wazuh agent reads the Security, System and Application channels and can read additional channels you name in its configuration. Process creation, logon, privilege use and account management events only appear when the matching advanced audit subcategories are turned on, which is the most common reason a Windows deployment looks quiet.

  • Audit policy first: Confirm that the advanced audit subcategories for logon, process creation, account management and object access are enabled through Group Policy or a local policy baseline. Command-line auditing for process creation needs its own setting.
  • Channel selection: Decide which channels the agent reads, including Sysmon or PowerShell channels if they are deployed, and keep the list in version control with the agent group configuration.
  • Volume control: Collecting every event ID from busy servers multiplies indexer storage. Start with the security-relevant IDs and widen the list after the pilot shows real volume.
  • Clock and identity: Check that hosts use a consistent time source and that the agent reports the host name the rest of your inventory uses.
  • Gaps to watch: Domain controllers, file servers and jump hosts often need different audit settings from workstations.

On a pilot host, generate a known logon, a new service and a privileged group change, then confirm each event reaches the dashboard with the expected fields. Confirm the audit policy result with the Windows tooling your team already uses.

How to set up collection for a first log source

This sequence takes one pilot log source from selection to verified, parsed events in the Wazuh dashboard, so the team proves the path works before adding more sources.

  1. Choose one pilot log source

    The team picks a single source that matters to a known detection or investigation need, such as one Windows server, one Linux host or one firewall. It should be a system the team can reach, has an owner who can confirm expected events, and produces activity during the pilot window. Record the source type, host or device name, expected event categories and the person who will judge whether the data is right. The step is done when the team can state in one sentence what question the logs will answer.

  2. Confirm the agent or syslog path

    Decide whether the source is collected by a Wazuh agent on the endpoint or by syslog from a network device, since agentless collection suits devices where an agent cannot run. For agents, confirm the operating system is supported, the agent can reach the Wazuh server, and the agent is enrolled into a test group. For syslog, confirm the device can send to the configured collector address and port and that network rules allow it. Check the Wazuh components and deployment documentation for the exact collection method for your platform before changing anything. The step is done when the owner of the source agrees on the collection method and the network path is open.

  3. Configure the log channels on the source

    Enable the event channels, log files or syslog forwarding that the pilot needs, limiting them to the categories agreed in the first step. On Windows, this usually means selecting specific event channels; on Linux, it means choosing journal or log file sources; on network devices, it means setting the syslog destination and severity level. Keep the first configuration narrow so volume is easy to read and any noise is visible. The change is recorded with the host name, the time it was made and the person who made it. The step is done when the source generates events in the expected categories on the host or device itself.

  4. Confirm events arrive at the Wazuh server

    Trigger a known, harmless activity on the source, such as a test logon, a service restart or a configuration change, and then check that the event reaches the Wazuh server. Compare the timestamp of the triggering action with the time the event appears. If nothing arrives, check the agent connection status or the syslog listener, the firewall path and the group configuration before editing rules. The step is done when the test activity appears on the server within the window the team expects and the source is listed as active.

  5. Verify the dashboard and timestamps

    Open the Wazuh dashboard and find the test events by source name and time range. Check that the event timestamp matches the source clock, and check the time zone the dashboard displays. Clock skew between the endpoint or device and the server makes correlation and investigation unreliable, so note any offset and fix time synchronization on the source before continuing. The step is done when the test event appears in the dashboard with a timestamp that the source owner confirms as correct.

  6. Check parsed fields and decoding

    Open a test event and confirm that the fields the team needs, such as user name, host, event identifier, source address or action, were extracted. Events that arrive without useful fields usually mean a decoder does not match the format, so the team should note which log lines are unparsed rather than assume the data is usable. Record which decoded fields the detection and investigation use cases depend on. The step is done when the security owner signs off that the required fields are present in the dashboard for the pilot events.

  7. Document the baseline and then expand

    Write down the working configuration, the expected event volume for the pilot, the fields confirmed and any unparsed formats still open. Keep this record with the change history so later troubleshooting can compare against it. Only after the pilot is stable should the team add the next source, applying the same arrival, timestamp and field checks to each one. Expansion is done source by source, so a problem in one source does not hide problems in another. The step is done when the baseline is saved and the next source has an owner and a planned check list.

When custom decoders are needed for application logs

Write custom decoders when an application writes logs that Wazuh does not already parse. Built-in decoders cover common operating system, service and vendor formats, but logs from in-house software, niche line-of-business systems or older applications often arrive as plain text that the server stores without fields. Without a decoder, you cannot match on user, action or outcome, so the rules you need for detection never fire. Before writing anything, sample real log lines from each application, note the variable parts such as timestamps, usernames and status codes, and confirm which decoder already handles the closest format.

Test every sample line before it reaches production. Wazuh provides a log test utility, wazuh-logtest, that runs a line through the decoders and rules and shows which fields were extracted and which rule matched. Use it with representative good and bad lines, including edge cases such as empty fields and unusual characters. Confirm the exact test tooling, its options and its output in the Wazuh documentation for your installed version, because command behavior and file locations can differ between releases. Keep the test lines in version control so they can be rerun after every change.

Treat decoders and rules as code that must survive upgrades. Custom files should live in the locations the documentation designates for local content, not in the files shipped with the product, so an upgrade does not silently overwrite them. Plan a retest of your custom decoders against the new version as part of every upgrade, and check whether any default rules changed in ways that affect your detections. Building and maintaining this detection content is a separate effort from log collection, with its own review, tuning and ownership, and it should be scoped and estimated as such in any partner quote.

Operational risks that flood the indexer or hide events

Most log collection problems in Wazuh do not show up as errors. They show up as a dashboard that is too loud, a timeline that does not line up, or an attack that never produced an alert. The cards below describe the risks that cause these symptoms and the control that prevents each one.

High-volume channels without a noise plan

Enabling every Windows event channel or every journald unit sends far more events than the indexer needs, and the storage and search cost grows with each one. The symptom is an indexer that fills quickly and alert views dominated by routine events. Before enabling a channel, decide which event IDs matter for detection, filter the rest at the agent or with decoder and rule tuning, and record the expected daily event rate for each source so growth is visible.

Wazuh components

Unsynchronized clocks distorting timelines

When endpoints, network devices and the Wazuh server disagree on time, events from one incident appear in the wrong order and correlation rules that depend on time windows can miss or misfire. The symptom is a login that appears after the malicious process it enabled. Confirm that every source uses a common time service, check the time zone each decoder assumes, and test with a known event before trusting a timeline.

Unparsed events that never trigger rules

A log line that no decoder matches is stored as raw text, and no rule fires on it. The symptom is a source that shows steady event counts but zero alerts, which looks like a quiet environment rather than a gap. Test representative samples from each custom application with wazuh-logtest before go-live, and review the archive for sources whose events lack decoded fields.

Syslog without a stable source identity

Network devices sending syslog over UDP or with changing addresses can be confused with each other, or appear under a different name after a DHCP change or NAT. The symptom is events attributed to the wrong device or to the Wazuh server itself. Assign each device a fixed address, record the mapping from address to device in your asset inventory, and check that decoders read the hostname field the device actually sends.

Collection configuration drifting across groups

When agents in different groups receive different channel lists, log file paths or localfile entries, the same event is collected on some hosts and missing on others. The symptom is a detection that works on one server build and silently fails on the next. Manage collection settings through agent groups in the Wazuh server, review each group's configuration after every change, and compare a sample host from each group against the intended list.

Archive decisions made after the fact

If the team does not decide up front whether to keep all events, the indexer either drops data needed for later investigation or stores everything without a retention plan. The symptom is a forensic question that cannot be answered because the events were never stored. Write down which sources must be archived in full for audit or investigation, which may be discarded after alerting, and who approves each choice.

Wazuh components

When to archive every event and when to keep only alerting data

The decision to keep every raw event or only the events that feed alerts and dashboards comes down to what you may need to prove or reconstruct later. Archiving all events preserves the full Windows event channels, journald streams, macOS unified log output and syslog from network devices, so an investigator or auditor can search data that no rule ever matched. Keeping only alerting data is cheaper and easier to operate, but a decoder or rule gap found months later cannot be fixed retroactively for events that were discarded. Before enabling either path, list the sources you collect, the questions you expect to answer from them, and how long each answer must remain available.

The choice drives indexer storage and retention planning more than any other setting in this topic. Every archived event consumes indexer capacity, and the volume grows with chatty sources such as domain controllers, firewalls and verbose application logs. Confirm in the Wazuh indexer documentation for your deployed version how archive output is written, whether archived events are indexed or only stored, and which retention and snapshot settings apply. Test a representative source for a full day and measure the growth before you size disks, and ask the implementation partner to show those figures in the written scope.

For regulated data, the decision belongs to the data owner and compliance function, not to the team that operates Wazuh. Retention periods, legal hold requirements and access to archived raw events are policy questions that must be written down and approved, and the Wazuh team then implements them. Record which sources are archived in full, which are alert-only, who may search the archive, and how a legal hold is applied and released. Revisit these decisions whenever a new source is added or a framework requirement changes, because an alert-only source that becomes subject to an investigation may already have lost the events you need.

Limits to confirm for your sources and Wazuh version

Log collection in Wazuh depends on the operating system, the event sources and the Wazuh release you run. The items below are checks to complete against the current documentation and your own test systems before you commit to a collection design.

Exact agent OS support

Confirm the precise operating system versions, architectures and distribution releases that each Wazuh agent version supports. Support is listed per platform, so a Linux family or a Windows build can be supported in general while a specific release you run is not. Record the agent version you intend to deploy next to each OS version in your inventory, and check the compatibility matrix before rollout rather than after the first failed enrollment.

Components docs

Windows channels in the shipped config

Check which Windows event channels the default agent configuration collects and which ones you must add yourself, such as application-specific channels, PowerShell logging or Sysmon. Confirm the query syntax your agent version accepts for each channel, and test that events from a sample host reach the indexer. Default coverage changes between releases, so compare the shipped ossec.conf with the one you deploy.

Linux log paths in the shipped config

Verify which log files the default Linux configuration reads and which paths your distributions actually use. Some services write to journald only, log to nonstandard locations, or rotate files under different names. Confirm each localfile entry resolves on your images, and check file permissions so the agent user can read the files without running as root.

Syslog and polling support by device model

Confirm for each network device model whether you can send syslog to the Wazuh server, whether you need agentless polling, or whether neither path covers the events you need. Vendors name log formats and facilities differently, and a model may support syslog for some event types only. Request a sample log from a lab unit, then run it through the decoder test before you plan a rollout.

Deployment options

journald and unified log behavior

Confirm how journald and macOS unified logging are collected on your distributions and macOS versions, including cursor handling, persistence of the journal, filtering by unit or priority, and how much history is retained after a reboot. These behaviors differ by distribution and release, so test collection after a restart and after log rotation. Do not assume that the same configuration works across every Linux family in your estate.

Effect of the 4.14 line

Check whether the Wazuh 4.14 patch release you plan to run changes default collection settings, decoders, supported platforms or agent behavior compared with the version you tested. The 4.14 line has received several patch releases in 2026, so compare the release notes for the exact version you deploy against your test results. Repeat the collection tests after each patch upgrade.

Release notes

Questions teams ask before collecting logs in Wazuh

What drives the effort of collecting logs in Wazuh?

Effort follows the number of log sources, how many of them need custom parsing, and how much access your team can grant. A Windows event channel or a Linux journal stream that Wazuh already understands takes far less work than a homegrown application log in an unfamiliar format. Each new source adds configuration on the agent or device side, a check that events arrive and are decoded, and rule tuning so the alerts are useful. Ask any partner to split its quote by source type, so you can see which items are standard configuration and which are decoder or rule development.

How long does onboarding the first log source take?

The first source usually takes the longest because it includes the work that every later source reuses: agent enrollment, group design, the central configuration, and a verified path from the source through the Wazuh server to the dashboard. After that, a source with a standard format mostly needs configuration and verification. A source that needs a custom decoder and rules adds build and testing time that depends on how many log formats it writes and how complete your samples are. Confirm the timeline in a written scope rather than relying on a general estimate.

What must our team provide before log collection starts?

Collection depends on access you grant and information only your team holds. Plan to provide access to the hosts or devices, approval for agent installation or syslog forwarding, and any device credentials needed for agentless collection. For custom applications, provide representative log samples that cover normal events, errors and security-relevant events, plus a description of the log format and the fields that matter. Also name the owner who approves changes to production hosts. Missing samples are the most common reason decoder work stalls.

Can our own team collect logs in Wazuh without a partner?

Yes, many teams do. Windows event channels, journald and syslog from standard devices are documented in the Wazuh documentation and can be configured by an engineer who knows the platform. The work becomes harder when you need custom decoders, rules tested with wazuh-logtest, consistent agent grouping across many operating systems, or collection from macOS unified logs and proprietary applications. Assess your team's experience with decoders and rule testing, the number of sources, and how many people can carry the work when the primary engineer is unavailable.

Does log collection work change when we upgrade Wazuh?

Yes. Decoders and rules written for one release can behave differently after an upgrade, and agent versions must stay compatible with the server. Keep custom decoders and rules under version control, retest a sample set of events in a staging environment before each upgrade, and record which sources depend on custom content. Upgrade planning should follow the documented order for central components and agents. Patch releases in the 4.14 line are published regularly, so plan a recurring review rather than treating collection as a one-time project.

Should we archive every event or only the alerts?

Archiving all events costs more storage and indexer capacity than storing only alerts, and it is useful when you need full records for investigations, audits or legal holds. Alerts alone are cheaper and easier to search, but they lose context that an investigation may need. Decide per source based on your retention obligations and investigation needs, then size storage and retention together. Ask for the retention design as part of the quote, since it drives both hardware and recurring operating effort.

Which network devices can Wazuh monitor without an agent?

Wazuh can receive syslog from network devices such as firewalls and switches that cannot run an agent, and it can probe some devices through their APIs on a schedule. The practical limit is what each device exports. Confirm the log format, transport and forwarding options on each model, and confirm with the Wazuh documentation how agentless collection is configured. Agentless collection generally shows less detail than an agent on a host, so test the events you need for detection before you commit to a design.

How DeployOpen scopes and delivers Wazuh log collection

DeployOpen plans, builds and documents Wazuh log collection from Windows, Linux and network devices inside your own infrastructure. We start from the log sources you must cover, agree what the written scope includes, and deliver collection that your own security and operations teams can run after handover.

How we scope

  • We inventory the Windows, Linux, macOS and network devices that must send logs and record their operating systems and versions.
  • We agree which event channels, journald units, unified log subsystems and syslog sources are in scope, in writing, before work starts.
  • We define which custom applications need decoders and rules, and whether any events will be archived in full rather than only alerted on.

How we build

  • We configure agent collection for Windows event channels and Linux log sources, then add syslog intake for network devices where agentless collection is the right fit.
  • We write and test custom decoders and rules for in-scope applications, checking parsed fields against sample log lines before they reach production.
  • We keep configuration under version control and roll changes out to agent groups so collection is repeatable across environments.

How we hand over

  • We deliver a written record of each log source, its collection method, its decoder and rule files, and the owner responsible for it.
  • We walk your team through verifying that events arrive, parse correctly and appear in the dashboard, using the test steps from the build.
  • We document known gaps, volume considerations and the archive settings chosen, so future changes start from an accurate baseline.

How we support

  • Most engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.
  • Ongoing support, upgrades and continuous testing are available as a retainer if your team wants DeployOpen to keep collection current.
  • Scope changes, such as adding a new application or device class, are priced from a revised written scope rather than absorbed silently.

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.