Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Remap function for to_syslog_facility #5769

Closed
jbradleynh opened this issue Dec 31, 2020 · 1 comment
Closed

New Remap function for to_syslog_facility #5769

jbradleynh opened this issue Dec 31, 2020 · 1 comment
Labels
domain: vrl Anything related to the Vector Remap Language transform: remap Anything `remap` transform related type: feature A value-adding code addition that introduce new functionality.

Comments

@jbradleynh
Copy link
Contributor

Similar to request to map syslog severity levels to human readable keywords from #5500 it would be helpful to have a means to remap syslog facility codes to their keyword as well.

Use-cases

When parsing events message from the journald source, the raw facility values could be enriched with a simple remap transform to down stream labeling

Proposal

create a remap-function to_syslog_facility which could produce the facility name:

to_syslog_facility(10)
=> "authpriv"

References

@jbradleynh jbradleynh added the type: feature A value-adding code addition that introduce new functionality. label Dec 31, 2020
@jamtur01 jamtur01 added domain: vrl Anything related to the Vector Remap Language transform: remap Anything `remap` transform related labels Jan 18, 2021
@JeanMertz
Copy link
Contributor

Resolved in #5770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: vrl Anything related to the Vector Remap Language transform: remap Anything `remap` transform related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

4 participants