Migration documentation: syslog input alternative - #36781
Merged
Merged
Conversation
7 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new migration guide documenting how to replace the removed Wazuh 4.x remoted syslog listener (port 514) in Wazuh 5.x using rsyslog plus a Wazuh agent (logcollector).
Changes:
- Introduces a new migration guide describing two ingestion pipelines: rsyslog → journald (
omjournal) and rsyslog → per-host log files. - Provides configuration mapping from 4.x
<remote>settings to 5.x rsyslog/agent equivalents, plus an end-to-end example.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rovogel
force-pushed
the
docs/36568-syslog-input-alternative
branch
from
June 8, 2026 19:40
fea2632 to
a2ecdc4
Compare
Nicogp
previously approved these changes
Jun 8, 2026
Nicogp
approved these changes
Jun 8, 2026
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents the migration path for users who relied on the Wazuh 4.x syslog input on port 514 (
<connection>syslog</connection>inremoted), which was removed in Wazuh 5.0. The guide covers setting up rsyslog as the syslog receiver and a Wazuh agent as the log forwarder, with two alternative pipelines.Closes #36568
Proposed Changes
New guide:
docs/guide/migration/syslog-input-4x-to-5x.md. It covers:remotedno longer accepts syslog on port 514; an rsyslog daemon and a Wazuh agent are now required on the collection host.omjournal) → logcollector (journald reader, enabled by default). Includes a note on the required%HOSTNAME% %syslogtag%%msg%message template to preserve the sender's hostname in journal entries, which would otherwise be lost.<localfile>stanza). Includes log rotation configuration.<remote>config element to its 5.x rsyslog/agent equivalent.cisco-asa,pf,juniper) require no changes.Results and Evidence
Option A validated on Ubuntu 24.04:
omjournal+%HOSTNAME% %syslogtag%%msg%template confirmed to write sender hostname into journal entries.Artifacts Affected
N/A
Configuration Changes
N/A — the guide documents external rsyslog configuration and Wazuh agent
ossec.confchanges, not any default configuration shipped with Wazuh.Documentation Updates
docs/guide/migration/syslog-input-4x-to-5x.mddocs/SUMMARY.mdwith a link to the new guideTests Introduced
N/A
Review Checklist