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
Expected behavior
It should tag the record properly as per the provided tag_key regardless if the data is sent as json object or array of json objects.
Your Environment
Version used: 3.1.0
Additional context
The issue was introduced by #8794 which I believe was merged in 3.0.7 and 3.1.0. The issue is simple mistake of not setting the value of tag_from_record variable in the else block here.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
tag_key
doesn't work when sending json array to http input.To Reproduce
Run fluent-bit with the following configuration.
send a json array to http://localhost:8888
View the output
As you can see it didn't tag the record as
value1
and instead it falls back to the default tag ofhttp.0
Now, send a json object to http://localhost:8888
and now the output is
Expected behavior
It should tag the record properly as per the provided
tag_key
regardless if the data is sent as json object or array of json objects.Your Environment
Additional context
The issue was introduced by #8794 which I believe was merged in 3.0.7 and 3.1.0. The issue is simple mistake of not setting the value of
tag_from_record
variable in the else block here.The text was updated successfully, but these errors were encountered: