Azure file access monitoring

NBazure 1 Reputation point
2022-05-26T14:48:23.39+00:00

Are tools available in Azure to identify/monitor which applications are accessing the same file? The tool should be executable via a command line .

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,645 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,546 Reputation points Moderator
    2022-05-30T07:26:09.147+00:00

    Hi @NBazure ,

    Based on my understanding of the contexts possible for this question, I am providing my suggestion below:

    1. Azure Files - Azure Files offers fully managed file shares in the cloud that are accessible via the industry standard Server Message Block (SMB) protocol or Network File System (NFS) protocol. If you wanted to get the details of operations on Azure Files, you may enable Diagnostics setting as described in this link.
    Here are the details of information, that would get collected after enabling it - Resource logs.

    Depending on the destination selected in the setting, you may use the corresponding APIs from cmd line tool like CURL to get the stored logs.

    2. Files on an Azure VM - If you want to know which processes/applications are accessing a particular file, you might use tools like Procmon or ProcessExplorer. While you may use cmdline to collect ProcMon trace, you would still need UI to analyze it.

    If it doesn't answer your question, can you please provide additional context to help us understand it further?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.