Split array in Logstash

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?

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