Now I have the filed below in Kibana.
{ "steps": [
{
"stepName": "****",
"values": {
"type": "**",
"startTime": "**",
"total": 0
}
},
{
"stepName": "**",
"values": {
"type": "***",
"startTime": "**",
"total": 1
}
},
{
"stepName": "**",
"values": {
"type": "**",
"startTime": "**",
"total": 0
}
}
]}
And i want to change the jsonarray format in kibana. I would like to split the array and show the array index in the field.
steps.0.stepName:"**"
steps.0.values.type:"**"
steps.0.values.startTime:"**"
step.0.values.total:"***"
step.1.stepName:"**"
steps.1.values.type:"**"
steps.1.values.startTime:"**"
step.1.values.total:"***"
I have trying to using split filter but no luck. Also I trying to use scripted field in Kibana, but it does not work. And now I have no idea how to achieve this. Can anyone help me about this?Thanks!