What’s the most efficient way to capture vpc mirror traffic for a large set of devices?

I want to mirror north/south network traffic for assets within my aws vpc to a packet sniffing security appliance in the same vpc using Amazon’s traffic mirroring feature. I’ve got it to work with a traffic mirror session pointing to an individual ec2 instance nic as source… but this will be cumbersome setting up individual…

Details

JSON to CSV convertor where JSON has inconsistent columns in array

I am trying to convey JSON to CSV file where JSON columns in arrays are not consistent . Please find below sample JSON data I am trying to convert. {“data”:[{“country_id”:”001″,”countryinfolist”:”Elements”:[{ {“NAme”:”country”,”Value”:”USA”}, {“Name”:”capital”,”Value”:”DC”}, {“Name”:”Largest City”,”Value”=”NYC”}]}, “Demolist”:{“Demoid”:[{ “value”:”100000″,”name”:”POPOLATION”}, {“value”:”6000000″,”name”:”GDP”}, {“value”:”ENGLISH”,”name”:”Plang”}, {“value”:’SPANISH”,”name”:”Slang”}]}, {“country_id”:”002″,”countryinfolist”:”Elements”:[{ {“NAme”:”country”,”Value”:”Mexico”}, {“Name”:”Largest City”,”Value”=”Mexico City”}, {“NAme”:”Currency”,”Value”=’Peso”]}, “Demolist”:{“Demoid”:[{ “value”:”50000″,”name”:”POPOLATION”}, {“value”:”SPANISH”,”name”:”Plang”}, {“value”:”Soccer”,”name”:”Sports”}]} }]} As you can see array…

Details