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
I would like to create a JSON based access log output to an text file similar to apache combined access log.
When I use codec = "text" is the output empty with codec = "json" are the fields shown but only in json format.
Where is the proper way to set the format for the output line?
transform?
sink?
??
I think the template could look like that with {{ and }} right?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I would like to create a JSON based access log output to an text file similar to apache combined access log.
When I use
codec = "text"
is the output empty withcodec = "json"
are the fields shown but only in json format.Where is the proper way to set the format for the output line?
I think the template could look like that with
{{
and}}
right?Vector Config
Vector Logs
Json encoding
text encoding
Beta Was this translation helpful? Give feedback.
All reactions