I am trying to process my json log to extract all the fields.
- decode_json_fields:
fields: ["message"]
target: ""
process_array: false
expand_keys: true
overwrite_keys: false
Example of log:
{
"sub" : "math",
"sub" : "bio",
"marks" : 23,
"marks" : 45,
"subID" : "math"
}
I am trying to upload these all fields either through dynamic renaming or through appending the value to array if needed