Hi Logstash community,
I have the following json coming from http_poller. I want to split that into multiple json documents and feed into Elasticsearch. Pls suggest json filter or split. Thanks in advance
Input JSON
{
"result": [
{
"fname": "A",
"lname": "B"
},
{
"fname": "C",
"lname": "D"
},
{
"fname": "E",
"lname": "F"
}
]
}
Expected Document1:
{
"fname": "A",
"lname": "B"
}
Expected Document2:
{
"fname": "C",
"lname": "D"
}
Expected Document3:
{
"fname": "E",
"lname": "F"
}