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 managed to tell FluentBit that the field severity of my jsonPayload is the special Google Logging severity field using :
[OUTPUT]
Name stackdriver
....
severity_key severity
....
I wanna do the same with the field httpRequest because it is also a special field of Google Logging. When looking at the code I noticed this attribute of the stackdriver output that surprisingly isn't documented, but still I came across this issue that mentions the field.
I tried using it with :
[OUTPUT]
Name stackdriver
....
severity_key severity
http_request_key httpRequest
....
But when I do so, I cannot see my logs in Google Logging anymore. If I remove the http_request_key, I can see my log well parsed but without the httpRequest special field in the interface.
Is there something wrong with my configuration ? I can provide extra information if needed :)
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
-
Hello everyone :)
I have a log that is formatted like so :
I managed to tell FluentBit that the field
severity
of myjsonPayload
is the special Google Loggingseverity
field using :I wanna do the same with the field
httpRequest
because it is also a special field of Google Logging. When looking at the code I noticed this attribute of the stackdriver output that surprisingly isn't documented, but still I came across this issue that mentions the field.I tried using it with :
But when I do so, I cannot see my logs in Google Logging anymore. If I remove the
http_request_key
, I can see my log well parsed but without thehttpRequest
special field in the interface.Is there something wrong with my configuration ? I can provide extra information if needed :)
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions