Skip to content

Comments

feat(fluentbit): adds support for workers to syslog output#1874

Open
mob-galtryn wants to merge 1 commit intofluent:masterfrom
mob-galtryn:adds-support-for-workers-syslog
Open

feat(fluentbit): adds support for workers to syslog output#1874
mob-galtryn wants to merge 1 commit intofluent:masterfrom
mob-galtryn:adds-support-for-workers-syslog

Conversation

@mob-galtryn
Copy link

Signed-off-by: Nick Galtry nick.galtry@mobilise.cloud

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #1870

Does this PR introduced a user-facing change?

Adds support for setting the number of workers for the syslog output.

Additional documentation, usage docs, etc.:


Signed-off-by: Nick Galtry <nick.galtry@mobilise.cloud>
plugins.InsertKVString(kvs, "syslog_sd_key", s.SyslogSDKey)
plugins.InsertKVString(kvs, "storage.total_limit_size", s.TotalLimitSize)
plugins.InsertKVField(kvs, "syslog_maxsize", s.SyslogMaxSize)
plugins.InsertKVField(kvs, "Workers", s.Workers)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Param name (workers) should be lowercase.

@joshuabaird
Copy link
Collaborator

@mob-galtryn Would you mind taking a look at tests for other output plugins (eg, datadog, gelf, s3) and implement tests for the syslog output plugin in a similar fashion? Thanks!

@mob-galtryn
Copy link
Author

@joshuabaird I have found tests here apis/fluentbit/v1alpha2/clusteroutput_types_test.go that includes tests for the syslog output, are these the tests you are referring to?

@joshuabaird joshuabaird changed the title adds support for workers to syslog output fluentbit: adds support for workers to syslog output Feb 18, 2026
@joshuabaird joshuabaird changed the title fluentbit: adds support for workers to syslog output feat(fluentbit): adds support for workers to syslog output Feb 18, 2026
@joshuabaird joshuabaird added fluent-bit enhancement New feature or request labels Feb 18, 2026
@joshuabaird
Copy link
Collaborator

@joshuabaird I have found tests here apis/fluentbit/v1alpha2/clusteroutput_types_test.go that includes tests for the syslog output, are these the tests you are referring to?

Tests would probably go in a new syslog_types_test.go file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request fluent-bit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to configure workers for syslog output

2 participants