After using user_agent processor, I am getting the results somewhat like this:
"user_agent" : {
"patch" : "1",
"major" : "5",
"minor" : "1",
"os" : "Android 5.1.1",
"os_minor" : "1",
"os_major" : "5",
"name" : "Android",
"os_name" : "Android",
"device" : "AFTT"
}
I want the fields inside user_agent to be split and parsed so that the JSON document looks like this
"user_agent" : {
"patch" : "1",
"major" : "5",
"minor" : "1",
"os" : "Android 5.1.1",
"os_minor" : "1",
"os_major" : "5",
"name" : "Android",
"os_name" : "Android",
"device" : "AFTT"
},
"patch" : "1",
"major" : "5",
"minor" : "1",
"os" : "Android 5.1.1",
"os_minor" : "1",
"os_major" : "5",
"name" : "Android",
"os_name" : "Android",
"device" : "AFTT"