Skip to content

Fix file_log receiver config generator for Windows - #26916

Open
bernd wants to merge 2 commits into
masterfrom
fix/filelog-receiver-on-windows
Open

Fix file_log receiver config generator for Windows#26916
bernd wants to merge 2 commits into
masterfrom
fix/filelog-receiver-on-windows

Conversation

@bernd

@bernd bernd commented Aug 6, 2026

Copy link
Copy Markdown
Member

The receiver doesn't support enabling the "include_file_owner_name" and "include_file_owner_group_name" options on Windows.

We now pass the CollectorOSType into the SourceConfig#toReceiverConfig method so we can adjust the config based on the operating system.

Fixes Graylog2/collector#90

The receiver doesn't support enabling the "include_file_owner_name" and
"include_file_owner_group_name" on Windows.

We now pass the CollectorOSType into the SourceConfig#toReceiverConfig
method so we can adjust the config based on the operating system.

Fixes Graylog2/collector#90
@bernd
bernd requested a review from kroepke August 6, 2026 14:26

@kroepke kroepke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't manually test it, but looks straightforward to me, test covers the combinations

@bernd

bernd commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

didn't manually test it, but looks straightforward to me, test covers the combinations

Thanks! I tested it on Linux and Windows.

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.

Windows collector crashes with unsupported log receiver options

2 participants