I have events coming into splunk with payload of nested json array type.
The elements in the array are of the same format looking like -
But events may have variable number of these elements within the payload array. That means some event may have 10 elements within the payload array whereas some other may have just 1. Is there a way to efficiently handle extracting data from such variable size payloads in splunk? I saw some examples with spath but it looks like the expectation is to kinda have same fixed number of elements in the payload array.