When i'm using decode_json_fields in Filebeat. I'm unable to specify all fields in a json
Below is my sample json
{"message":{"name": "Viswanath","cancel":1,"description":"Hey"},"level":"info"}
When i use the below configuration
processors:
- decode_json_fields:
fields: [message]
process_array: false
max_depth: 1
target: ""
overwrite_keys: false
add_error_key: true
json value of "message" appears as string in elasticsearch index. (Logstash is not filtering any data, bypassing for now)
Is there any way to pass the data inside "message" key as json without name of the fields individually