fluent / fluent-bit-go

Fluent Bit Golang package to build plugins
Apache License 2.0
189 stars 52 forks source link

Document the properties that cant be used by a custom plugin #61

Closed gabrielbussolo closed 1 year ago

gabrielbussolo commented 1 year ago

Yes, they are both special properties. See https://github.com/fluent/fluent-bit/blob/21a2148171a74c87095cf6594a0d9877d3730730/src/flb_output.c#L763-L774

thanks @l2dy, so it implies that all keys that are being checked by prop_key_check on this function are being overwritten?

In this function, the special properties are not exposed for Golang side.

Originally posted by @cosmo0920 in https://github.com/fluent/fluent-bit-go/issues/60#issuecomment-1480960264

Include in the documentation restrictions on which config keys can and cannot be used in a custom plugin. such as Host, Port, Alias, etc.