Hi All,
We receive json lines from logs.
would need to aggregate this json lines to json Array
Sample:
{
"source" : "Request"
"target": "Request_parsed"
}
{
"source" : "Request1"
"target": "Request_parsed1"
}
Output
[
{
"output": {
"source": "Request",
"target": "Request_parsed"
}
},
{
"output": {
"source": "Request1",
"target": "Request_parsed1"
}
}
]
through mutate filter can add the field , would need to merge all fields.