Aggregating nested JSON object
Let's say I have the following log format:
{"transactionId": "1", "language": {"en": 4}}
{"transactionId": "2", "language": {"en": 3, "fr":2}}
How do I run the query to aggregate the language field this so I would get a result such as:
"en": 7
"fr": 2
Please sign in to leave a comment.
Comments
0 comments