Skip to content

Add a filter for blank values#5425

Merged
therandomstring merged 1 commit intosyslog-ng:developfrom
smortex:add-blank-filter
Aug 5, 2025
Merged

Add a filter for blank values#5425
therandomstring merged 1 commit intosyslog-ng:developfrom
smortex:add-blank-filter

Conversation

@smortex
Copy link
Contributor

@smortex smortex commented Jul 28, 2025

This is a follow-up of a discussion on the syslog-ng chat.

A value is considered blank if it is not set, is an empty string, is an empty list, is a string with only whitespace, or is boolean false.

@kira-syslogng
Copy link
Contributor

Can one of the admins verify this patch?

1 similar comment
@kira-syslogng
Copy link
Contributor

Can one of the admins verify this patch?

@smortex smortex force-pushed the add-blank-filter branch 8 times, most recently from 87237b1 to 539df30 Compare July 28, 2025 23:03
@smortex smortex marked this pull request as ready for review July 28, 2025 23:15
@smortex smortex force-pushed the add-blank-filter branch from 539df30 to 327597c Compare July 29, 2025 08:56
@smortex
Copy link
Contributor Author

smortex commented Jul 31, 2025

CI issues should be fixed now. I will squash commits on request when this work is ready.

@therandomstring
Copy link
Contributor

Thank you for the contribution. I'll try to review it today.

@smortex smortex requested a review from therandomstring August 1, 2025 20:00
@therandomstring
Copy link
Contributor

@smortex a squash would be welcome, but otherwise LGTM. Approved.

A value is considered blank if it is not set, is an empty string, is an
empty list, is a string with only whitespace, or is boolean false.

Signed-off-by: Romain Tartière <[email protected]>
@smortex
Copy link
Contributor Author

smortex commented Aug 4, 2025

Squashed thanks!

@therandomstring
Copy link
Contributor

@kira-syslogng test this please

@therandomstring therandomstring merged commit 8b34a9d into syslog-ng:develop Aug 5, 2025
31 of 32 checks passed
@smortex smortex deleted the add-blank-filter branch August 5, 2025 13:48
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.

3 participants