You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Problem
We were trying the newly introduced parse_influxdb vrl function, and as the docs states, we should pass its output to a log_to_metric transform to generate Vector metric events from it (contrary to the decoding.codec=influxdb, which outputs real metrics without the need of that transform)
We found that the parse_influxdb function does not output events with the namespace field
Example:
A note for the community
Problem
We were trying the newly introduced
parse_influxdb
vrl function, and as the docs states, we should pass its output to alog_to_metric
transform to generate Vector metric events from it (contrary to thedecoding.codec=influxdb
, which outputs real metrics without the need of that transform)We found that the
parse_influxdb
function does not output events with the namespace fieldExample:
And although in Vector's metric model the namespace is optional
vector/lib/vector-core/src/event/metric/series.rs
Line 99 in 88d6fe7
It seems to be required by the
log_to_metric
transformvector/src/transforms/log_to_metric.rs
Line 800 in 88d6fe7
Should the
log_to_metric
transform to optionally populate thenamespace
field, only if present, and not fail if the namespace field is not present?I can submit a PR addressing it, just want to ask if this is a desired behaviour
Thanks
Configuration
Version
vector 0.41.1 (x86_64-unknown-linux-gnu)
Debug Output
No response
Example Data
No response
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: