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
When trying to ship logs from Filebeat, the content is placed under a message field, in my case I'm shipping JSON documents so I need to tell Logstash to convert and expand the original document with the JSON document within message, I do it like this:
filter {
json {
source => "message"
}
}
However, since my JSON document also has a message field, I get this error:
Sometimes this workaround is not possible. I am using FileBeat -> Kafka -> Logstash and my JSON doesn't even contain a "message" field; it's FileBeat and Kafka who add this field.
Running Logstash v2.3.2
When trying to ship logs from Filebeat, the content is placed under a
message
field, in my case I'm shipping JSON documents so I need to tell Logstash to convert and expand the original document with the JSON document withinmessage
, I do it like this:However, since my JSON document also has a
message
field, I get this error:As a workaround I've changed one of the
message
fields tomessage2
.The text was updated successfully, but these errors were encountered: