Split array in Logstash


#1

I have data coming in, in following format via Logstash
{ test => [
[0] { "data"= "xyz"
"field2"=> "1234"
}
[1] { "data"= "xyz"
"field2"=> "1234"
}
[2] { "data"= "xyz"
"field2"=> "1234"
}
I want to split my fields, so each Logstash event is as follows:
{ "data"= "xyz"
"field2"=> "1234"
}
{ "data"= "xyz"
"field2"=> "1234"
}
{ "data"= "xyz"
"field2"=> "1234"
}

Whats the best way to extract data?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.