Azure Alert for Blob count

370 views Asked by At

Is there any way to create an Azure alert which will be triggered if in specific blob container I will reach specific count of files/blobs? For example in blob container named test I will have 100 json files.

2

There are 2 answers

0
Harken350 On

Off the top of my head you could use a Automation Account with a script.

the script would query storage accounts (using a foreach loop) and if the condition is met, an email is sent off to someone?

Another idea, might be able to use Log Analytics and do a Kutso query as the criteria match.

Sorry if this is too light on info

0
Vinod kumar G On

Create an Alert in Blob storage, and keep the usage metric as the trigger with a threshold file size, it will be sufflicient i believe

enter image description here