Splunk Search

Extract fields from array of data and find best performing currency.

sandeepmakkena
Contributor

SSP Request: {
"disableAMLFlag" = "false";
"orderAttributes" = {
"OrderAttributes" = {
"requestPostalIndicator" = "X";
"soldToParty" = "76";
"shipCompleteIndicator" = "false";
"disableLineLevelShipOptionsFlag" = "false";
"deliveryGroupingFlag" = "true";
"language" = "E";
"salesOrg" = "30";
"delayedPaymentFlag" = "false";
"locale" = "en-ca";
};
};
"addressArray" = (
{
"Address" = (
{
"cityName" = "Toronto";
"countryCode" = "CA";
"addressType" = "HomeHome";
"postalCode" = "00078";
"state" = "ON";
"addressID" = "b2e6d5-e488-431c-b20e-e5d1babb56cb";
}
);
}
);
"lineItemArray" = (
{
"LineItem" = (
{
"flag" = "false";
"itemNumber" = "c9b73e-ef52-44b0-b22e-83675318d2dc";
"quantity" = "1";
"bopisItem" = "STH";
"materialNumber" = "PTFP";
"selectedShipMethodCode" = "02";
"perUnitNetPrice" = "1699.00";
"currency" = "CAD";
"giftWrap" = {};
"commitCode" = "24";
"addressID" = "b2e6d5-e488-431c-b20e-e5d1babb56cb";
}
);
},
{
"LineItem" = (
{
"flag" = "false";
"itemNumber" = "4243ab-cc41-4ee8-abf9-fea5129dc624";
"quantity" = "1";
"bopisItem" = "STH";
"materialNumber" = "MWLE";
"selectedShipMethodCode" = "02";
"perUnitNetPrice" = "1049.00";
"currency" = "CAD";
"giftWrap" = {};
"commitCode" = "24";
"addressID" = "b2e6d5-e488-431c-b20e-e5d1babb56cb";
}
);
}
);
}

I have something like this I am trying to extract currency field, quantity and perUnitNetPrice to see best performning currency.

Thanks for your time in advance.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...