Skip to content

How to know whether an event is a log or a metric? #21208

Answered by jszwedko
nzxwang asked this question in Q&A
Discussion options

You must be logged in to vote

This seems like it'd be a useful enhancement to add to vector tap when the --meta flag is used. It could be added to this file: https://github.com/vectordotdev/vector/blob/master/lib/vector-tap/src/lib.rs

Without that, I'm not sure there is a good way to differentiate between a log that happens to match the structure of a metric and an actual metric.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nzxwang
Comment options

@nzxwang
Comment options

Answer selected by nzxwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants