rafael33379
rafael33379

Reputation: 11

Azure Alert for Blob count

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.

Upvotes: 0

Views: 422

Answers (2)

Vinod kumar G
Vinod kumar G

Reputation: 655

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

Upvotes: 1

Harken350
Harken350

Reputation: 11

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

Upvotes: 0

Related Questions