How to update the API key for Azure AI Search

How to update the API key for Azure AI Search

It is mandatory to update the API key for the Azure AI Search service monitor to view the Statistics metrics, which provide in-depth quota and usage data of indexes, documents, data sources, aliases, and much more. To add the Azure AI Search monitor, follow the steps in this help document

Use the below steps to update the API key. This is a one-time step for each AI Search monitor that will last until the existing API key is regenerated.

Steps to update the API key

  1. Navigate to your AI Search service in the Azure portal.
  2. Go to the Keys tab under Settings, and select API keys under API Access control.
  3. Copy the Primary admin key.
  4. Log into Site24x7. Navigate to Cloud > Azure > Under Azure AI Search service monitor, click the Statistics tab. 
  5. Paste the copied key in the API key field, then click Submit.


The API key should not exceed 32 characters and consist of letters and digits.

If the shared API key is wrong, you will get an error message. In that case, copy the Secondary admin key and paste the key below. If that also doesn't work, you can regenerate the Primary admin key and update it here. 

Data collection

After successful entry, the data collection will be triggered. It takes a maximum of 5 minutes for the data of the Statistics metrics to be populated. Refresh after 5 minutes to view the complete data.

Threshold configuration

You can set thresholds for these metrics by navigating to the Azure Edit page > Configuration Profiles > Threshold and Availability and select the corresponding threshold profile from the drop-down. By default, you will get alerted when the usage exceeds 80 percent.
If you still face any issues, contact support@site24x7.com

Customers also search for 
How to get data for the Statistics metrics
Where to get the API keys in Azure
There is no data in the Statistics metrics tab


    • Related Articles

    • Updating the Client Secret (Application Secret) value provided for Azure monitoring

      To update the Client Secret value provided while adding an Azure monitor, follow these steps: Log in to Site24x7 and go to Azure > Infrastructure Dashboard/Inventory Dashboard/Management Actions. Hover over the hamburger icon at the top and click ...
    • There is no data from my Azure monitor

      There are several reasons for a Site24x7 Azure monitor to display no data. Some of them are listed below: When there is no data available for a metric on the Microsoft Azure portal itself, data collection cannot happen and Site24x7 will display no ...
    • How do I generate the Meraki REST API key?

      To discover and monitor Meraki organizations and devices in Site24x7, obtain an API key by following the steps below: Open your Cisco Meraki dashboard. Once logged in, navigate to Organizations > Settings. Ensure the option Enable access to the Cisco ...
    • How to create a custom view of Azure monitors based on tags

      Categorize your Azure resource monitors based on tags, like the resource group, subscription, and location, either while adding or editing an Azure monitor. While adding an Azure monitor On the Add Azure Monitor page, under Advanced Configuration, ...
    • How to download the saved search data using API

      Use the below API to download saved search data in CSV or JSON format: https://www.site24x7.com/api/applog/saved_searches/download/<search_id>/<from_date>/<to_date>?data_format=json&range=1-100&order=desc The following are the field values passed to ...