SeanFeldman / azure-events-wishlist

Curated list of Azure events via EventGrid
20 stars 0 forks source link

Blob Storage event for accessing blobs #147

Open SeanFeldman opened 1 year ago

SeanFeldman commented 1 year ago

Usecase scenario

To track what blobs were accessed and acting on that. A bonus would be to have blob metadata such as size.

xyh1 commented 1 year ago

This would be extremely noisy and costly. Turning on logging would be better

SeanFeldman commented 1 year ago

@xyh1, logging wouldn't have the blob size, would it?

xyh1 commented 1 year ago

It's been a while since I took at look at it but I would suspect the response packet size would be close to the blob size:

https://learn.microsoft.com/en-us/rest/api/storageservices/storage-analytics-log-format

SeanFeldman commented 1 year ago

Looks like response-packet-size could do the trick. Thank you, @xyh1.