Replies: 4 comments
-
Anyone able to comment on this? |
Beta Was this translation helpful? Give feedback.
-
Hi @aacgood, can you provide an example in the VRL playground? |
Beta Was this translation helpful? Give feedback.
-
Also, yes you are correct those fields are not supported by the current CEF implementation. Can you point me to the specification you are using for reference? If those are part of the spec, it is worth creating an issue requesting enhancement. And as always, contributions are always welcome. |
Beta Was this translation helpful? Give feedback.
-
Thanks @pront, Im not sure of the actual spec that the vendor used in this case for their logging, however there are a large number of cs#Label/cs# fields with the data im working with. My understanding is that CEF isnt limited to the number of these cs# fields that can be included. Im not sure if this function can be updated to be more dynamic if the key starts with Unfortunately I cant code in the language VRL is in so I wont be able to contribute a fix. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Im using the
parse_cef
function withtranslate_custom_fields: true
and it seems like its not remapping all my cs#Label / cs# fields.Having a look at the source code, it appears that
build_map
only has a hard coded list of 22 fields it will do the translation on. (ie: it doesnt do cs7Label/cs7 onwards)https://github.com/vectordotdev/vrl/blob/main/src/stdlib/parse_cef.rs#L15
Is this expected, or is there a way to have the code just look for cs?Label -> cs? for logs that contains a large number of custom fields and not be limited to whats in the current build_map?
Beta Was this translation helpful? Give feedback.
All reactions