Hi all,
we are trying to process an event with Logstash that is generated by http_poller input.
The event has the following structure:
{
"data": [
{
"name": "key1",
"value": "A"
},
{
"name": "key2",
"value": "B"
},
{
"name": "key3",
"value": "C"
}
]
}
We want to transform the event into:
{
"key1": "A",
"key2": "B",
"key3": "C"
}
Is there a filter plugin that is able to perform this action?
If there is not, do we have to write a custom plugin?