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
At the input file statement we set "type" to "http_www".
After the kv filter processing, the field "type" with previous value "http_www" has the new value "image/jpeg". Thats why the output filter is not working.
The workaround is to use "prefix" or "target" at the kv filter, to find it out was quite hard.
The replacement of an existing field value should be logged.
The text was updated successfully, but these errors were encountered:
That's a problem indeed..finding overlapping fields on each event might be costly though..
Maybe we could issue a warning of possible overwrites on startup time if "kv" filter is used without prefix or target?
The KV filter overwrites existing field values if the key is identical to the fieldname.
Assume you have the following log line:
And the following logstash configuration:
At the input file statement we set "type" to "http_www".
After the kv filter processing, the field "type" with previous value "http_www" has the new value "image/jpeg". Thats why the output filter is not working.
The workaround is to use "prefix" or "target" at the kv filter, to find it out was quite hard.
The replacement of an existing field value should be logged.
The text was updated successfully, but these errors were encountered: