I am attempting to flatten an array either in logstash or ingestion processor.
"clientType" : "Desktop Browser",
"stringProperties" : [
{
"key" : "usertype",
"applicationId" : "Client",
"internalApplicationId" : "APPLICATION-89",
"value" : "R"
},
{
"key" : "firmid",
"applicationId" : "Client",
"internalApplicationId" : "APPLICATION-89",
"value" : "1"
},
{
"key" : "firmname",
"applicationId" : "Client",
"internalApplicationId" : "APPLICATION-89",
"value" : "ABC"
}
any help would be appreciated. I am having trouble figuring the best way to do this, ultimately I would like it to look like this
"clientType" : "Desktop Browser",
"stringProperty.usertype" : "R",