I've been trying to ingest audit logs from Google Cloud, but the logs contain several arrays of objects. What would be the best way to split the arrays? Let's say if there are 10-20 different arrays, not in a single log but across the whole data source, what would be the best way to approach this problem? Right now, I tried if/else statements, but this is becoming a pain.
Here is my previous post which shows if/else statements: