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 need to use filebeat to push my json data into elastic search, but I'm having trouble decoding my json fields into separate fields extracted from the message field.
Filebeat version : 7.16.2
Filebeat.yml
filebeat.inputs:
- type: log
enabled: true
paths:
- /logs/*.json
multiline.pattern: '^{'
multiline.negate: true
multiline.match: after
processors:
- decode_json_fields:
fields: ["message"]
process_array: false
max_depth: "2"
target: ""
overwrite_keys: true
add_error_key: false
output.elasticsearch:
# Boolean flag to enable or disable the output module.
enabled: true
hosts: ["http://localhost:9200"]
Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!
I need to use filebeat to push my json data into elastic search, but I'm having trouble decoding my json fields into separate fields extracted from the message field.
Filebeat version : 7.16.2
Filebeat.yml
Json Input :
Current Output:
Expected Output:
separate fields
Please suggest to decode the multiline json in filebeat?
The text was updated successfully, but these errors were encountered: