Open timansky opened 5 months ago
Makes sense to me, thanks for the request @timansky . We'd be happy to see a PR for this if you or someone else feels motivated.
I'll try, looks simple
I'll try, looks simple
🥳 You can see the PR you linked to, https://github.com/vectordotdev/vector/issues/5501, as an example.
A note for the community
Similar to request to map syslog severity levels to integer from https://github.com/vectordotdev/vector/issues/5501 it would be helpful to have a means to remap syslog facility keywords to their integer values as well.
Use Cases
When parsing events message, the raw facility values could be enriched with a simple remap transform to down stream processing
Attempted Solutions
No response
Proposal
create a remap-function to_syslog_facility which could produce the facility name:
parse_syslog_facility("authpriv") => 10
References
No response
Version
No response