Documentation forSolarWinds Observability

Add an Azure cloud account

To monitor your Azure-managed host and associated Azure services with SolarWinds Observability, first integrate SolarWinds Observability with your Azure account. Then add the Azure cloud platform account to SolarWinds Observability.

Integrate your Azure account

You can integrate your Azure account with SolarWinds Observability either the Azure Command Line Interface (CLI) or the Azure portal.

Using the Azure CLI

To integrate using the Azure CLI, you must have Azure CLI v2.0 installed.

  1. Log in to the Azure account you want to integrate with SolarWinds Observability with the following command.

    az login
  2. For each subscription you want to monitor, run the following command to create an application as a service principal with the monitoring reader role. Replace YourSubscriptionID with the ID of the subscription you would like to monitor.

    az ad sp create-for-rbac --role "Monitoring Reader" --scopes /subscriptions/YourSubscriptionID

    Optional parameters for the command include:

    --name <CUSTOM_NAME>

    Creates a hand-picked name to use. If not included, Azure creates a unique name.

    --password <CUSTOM_PASSWORD>

    Use a custom password. If not included, Azure creates a unique password. This password will be used as a Client Secret when adding the Azure cloud platform in SolarWinds Observability.

    Take note of the appID generated from this command. It will be entered in the client ID text field when adding the Azure cloud platform in SolarWinds Observability.

  3. Run the following command to get the tenantId. The tenantId will be entered in the Tenant ID field when adding the Azure cloud platform in SolarWinds Observability.

    az account show
  4. Use the appID and tenantId to add the Azure cloud platform in SolarWinds Observability.

Using the Azure portal

  1. In the Active Directory of the Azure portal, create an app registration for your SolarWinds Observability integration. See Register an application with Azure AD and create a service principal in the Microsoft Azure product documentation and use the following options:

    • Name: SolarWinds Observability Auth
    • Supported Account Types: Accounts in this organizational directory only
    • Redirect URI: https://www.solarwinds.com/
  2. Assign a Monitoring Reader role to the application you created. The role should be applied to each subscription you would like to monitor. See Assign a role to the application in the Microsoft Azure product documentation for detailed instructions.

  3. Create a new Client Secret called solarwindsObservabilityClientSecret. Copy and store the secret's value. It will be entered in the Client secret field when adding the Azure cloud platform in SolarWinds Observability. See Option 2: Create a new application secret in the Microsoft Azure product documentation for detailed instructions.

  4. Use the Client Secret to add the Azure cloud platform in SolarWinds Observability.

Add the Azure cloud platform account to SolarWinds Observability

  1. In SolarWinds Observability, click Add Data at the top.

  2. In the Add Data dialog, click Azure.

  3. In the Basic Settings screen of the Add Azure Cloud Account dialog, type a Display name to represent the integration with your Azure account.

  4. Enter a unique name in the Metrics tag field. The metrics tag will be added to all measurements ingested from the Azure cloud services on this Azure account.

  5. If you used the Azure CLI to integrate your Azure account, enter the appID in the Client ID field and the tenantId in the Tenant ID field and click Next.

    If you used the Azure portal to integration your Azure account, enter the Client Secret's value in the Client Secret field and click Next.

  6. In the Subscriptions screen, select the subscriptions you wish to monitor. Subscriptions can only be monitored by one integration. When you are done selecting your subscriptions, click Next.

  7. In the Regions screen, select the Azure service regions that you want to monitor. To filter your regions based on a subscription, enter a subscription name in the Search subscriptions field. Click Next.

  8. In the Resource types screen, select the resource types you want to monitor. To filter your resource types based on a subscription, enter a subscription name in the Search subscriptions field. Click Next.

  9. In the Logs screen, complete the steps to configure a lambda function and add a trigger for each log group to be monitored with SolarWinds Observability. You can skip this step and configure logs later. See Add logs from Azure.

  10. Submit to finish the Add Azure Cloud Account wizard.

  11. To view data collected for the newly configured entity in the Entity Explorer, click the name of the Host in the confirmation dialog in the lower-left corner. It may take a few seconds for data to appear for the newly created entity. See Entity Explorer for details.

See Entities in SolarWinds Observability for an overview of Host entities and how they work in SolarWinds Observability.