Role Availability | Read-Only | Investigator | Analyst | Manager |
If you have Azure Web Apps running in your Azure environment, you can enable diagnostics logging for these web apps in the Azure console and then create log collection jobs in USM Anywhere to retrieve and process the log data.
The Azure App Service web apps provide diagnostic functionality for logging information from both the web server and the web application. It logically separates this into web server diagnostics and application diagnostics. When you enable this feature in Azure, you specify a log data storage account and container for each of these. See the Microsoft Azure documentation at https://docs.microsoft.com/en-us/azure/app-service/web-sites-enable-diagnostic-log for more information.
To enable diagnostics for your Azure Web App
- Log in to your account at https://portal.azure.com/.
- Go to your Azure Web App and select Settings > Diagnostics logs.
-
For Application Logging (Blob), click On and set the parameters:
- Set the Level for the logging.
-
For Storage Settings, click > and select the Storage Account and Container.
This is the storage account and container that Azure will use to store logs for the Web App. Make note of this information because you will need it to set up a log collection job in USM Anywhere. You can click + Storage Account to create a new storage account or container, or select an existing one.
- For Web server logging, select Storage.
-
Click Storage Settings and select the same storage account and container that you set for the application logging.
- Click Save.