I am new to Azure programming. I have a service running as Azure ACI. This service process if there is a file available in c:\data\input and writes processed c:\data\output. I will have file uploaded to blob storage https://sreestorage.blob.core.windows.net/SStorageContainer
Is there a way that I can get notification about File upload? SO that I can download the file to c:\data\input.
Thanks Santhi
Follow the steps below to get an
alert
when you upload a file to anAzure storage container
.Log Analytics Work Space
, follow the Ms DocAzure Portal > Select your Storage Account > Diagnostic settings > Blob > Add diagnostic setting
Please wait for some time to allow all
Storage account
transaction data to be sent to theLog Analytics workspace
Go to
Log analytics work space > Logs and run below KQL Query
Output:
New Alert Rule
and select the measurement according to your requirements.Action Group
, and if it has already been created, select the sameAction Group
and provide theEmail ID
details in theCondition
to receive an emailStorage account
, you will receive an email alert, and the same alert will be reflected in thePortal
An alert for the uploaded file has been received at the registered email, like below.