Retreiving an array from nested field


I have data coming in in JSON format with a nested field which holds an array I would like to retrieve.
Currently I am extracting the data from nested field via mutate plugin, such as:

mutate {
add_field => { "nested_data" => "%{examples[arrays]}"}
This retrieves the data as string, in result I see:
"nested_data" => "8,1,-64,0,0,50,16,3,25,50,1,0,0,18,-41,-112,-15,112,0,0,0,1,56,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,99",

How can I retrieve so my data stays in array? Or how do I convert back to array?


Any ideas?

(system) #3

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