How to use metadata field in templates like path
?
#15961
-
I have noticed that vector have supported setting metadata field like |
Beta Was this translation helpful? Give feedback.
Answered by
spencergilbert
Jan 17, 2023
Replies: 2 comments 3 replies
-
Hi @0akarma ! I believe that should work. I take it that it is not working for you though? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hey @0akarma - I believe the configuration you want to use is: path = "/output/%Y-%m-%d-%H-{{ .partition }}.json.gz" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jszwedko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @0akarma - I believe the configuration you want to use is: