Skip to content

fix: rename journalctl input plugin to journald with backward compat alias - #995

Open
0x5t4l1n wants to merge 1 commit into
ozontech:masterfrom
0x5t4l1n:fix/rename-journalctl-to-journald
Open

fix: rename journalctl input plugin to journald with backward compat alias#995
0x5t4l1n wants to merge 1 commit into
ozontech:masterfrom
0x5t4l1n:fix/rename-journalctl-to-journald

Conversation

@0x5t4l1n

@0x5t4l1n 0x5t4l1n commented Aug 2, 2026

Copy link
Copy Markdown

Summary\n\nFixes #200 — the plugin was named after the journalctl CLI tool rather than the journald daemon it reads from.\n\nChanges:\n- New plugin/input/journald/ package that registers type: journald\n- plugin/input/journalctl/init.go keeps type: journalctl registered as a backward-compatible alias\n- Both names route to the same Factory function — zero config breakage\n\nMigration: Users can switch type: journalctltype: journald in their configs. The old name will continue to work.\n\n## Test plan\n- [ ] go build ./...\n- [ ] Config with type: journald — plugin starts\n- [ ] Config with type: journalctl — plugin still starts (alias works)\n- [ ] make gen-doc — documentation regenerates\n\n🤖 Generated with Claude Code

…alias

Resolves ozontech#200. The plugin was named after the journalctl CLI tool rather
than the journald daemon it reads from. Add a journald directory with a
registration alias so existing configs using type: journalctl continue
to work, while new configs can use type: journald. The deprecated name
logs a warning on first use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant