New Remap function for parse_syslog_facility #848
Labels
meta: good first issue
Anything that is good for new contributors
type: feature
A value-adding code addition that introduce new functionality.
vrl: stdlib
Changes to the standard library
A note for the community
Similar to request to map syslog severity levels to integer from vectordotdev/vector#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
The text was updated successfully, but these errors were encountered: