-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
enhancement(codecs): Add semantic meaning to gelf decoded data. #22003
base: master
Are you sure you want to change the base?
Conversation
8189ba0
to
b16e850
Compare
b16e850
to
591f1ee
Compare
Head branch was pushed to by a user without write access
591f1ee
to
0545b71
Compare
0545b71
to
9fdceca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @apollo13 !
@apollo13 it looks like there is a failing gelf test here when you get some time. |
@jszwedko Yes, as I have written on discord the failing tests are the new tests that I added. While manual testing did work unless I tested something completely wrong it looks as if the |
Ah, I see, yes, I think the schema isn't applied to the log event at the level this test is at 🤔 Using |
Signed-off-by: Jesse Szwedko <[email protected]>
Thanks @jszwedko, I am a bit baffled about what is happening though. During the test failure the log event and metadata is shown. The meaning is setup as follows:
Which is what we have defined (ie
instead of |
Ah this always parses it into message: vector/lib/codecs/src/decoding/format/gelf.rs Line 125 in 45ccc73
|
Looking at the syslog codec it handles the log namespace in |
Ah, yeah, I think you may be right. |
Summary
Set semantic meaning for gelf decoded messages.
Change Type
Is this a breaking change?
How did you test this PR?
Inserted data using the following config and verified that the fields where set as expected.
Does this PR include user facing changes?
Checklist
Cargo.lock
), pleaserun
dd-rust-license-tool write
to regenerate the license inventory and commit the changes (if any). More details here.References