Microsoft Azure

Azure Operationalinsights

Azure Log Analytics API reference.

Developer tools#openapi#cloud

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Azure Log Analytics API reference.

Endpoints 17

StorageInsights

  • GETStorageInsights_Get/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs/:storageInsightName?api-version=stringGets a storage insight instance.
  • PUTStorageInsights_CreateOrUpdate/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs/:storageInsightName?api-version=stringCreate or update a storage insight.
  • DELETEStorageInsights_Delete/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs/:storageInsightName?api-version=stringDeletes a storageInsightsConfigs resource
  • GETStorageInsights_ListByWorkspace/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs?api-version=stringLists the storage insight instances within a workspace

Workspaces

  • GETWorkspaces_ListLinkTargets/subscriptions/:subscriptionId/providers/Microsoft.OperationalInsights/linkTargets?api-version=stringGet a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter…
  • POSTWorkspaces_GetSchema/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/schema?api-version=stringGets the schema for a given workspace.
  • POSTWorkspaces_Purge/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/purge?api-version=stringPurges data in an Log Analytics workspace by a set of user-defined filters. In order to manage system resources, purge requests are throttled at 50 requests…
  • GETWorkspaces_GetPurgeStatus/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/operations/:purgeId?api-version=stringGets status of an ongoing purge operation.
  • POSTWorkspaces_ListKeys/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/listKeys?api-version=stringGets the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.
  • POSTWorkspaces_RegenerateSharedKeys/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/regenerateSharedKey?api-version=stringRegenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.
  • DELETEWorkspaces_DeleteGateways/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/gateways/:gatewayId?api-version=stringDelete a Log Analytics gateway.

SavedSearches

  • GETSavedSearches_Get/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearches/:savedSearchId?api-version=stringGets the specified saved search for a given workspace.
  • PUTSavedSearches_CreateOrUpdate/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearches/:savedSearchId?api-version=stringCreates or updates a saved search for a given workspace.
  • DELETESavedSearches_Delete/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearches/:savedSearchId?api-version=stringDeletes the specified saved search in a given workspace.
  • GETSavedSearches_ListByWorkspace/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearches?api-version=stringGets the saved searches for a given Log Analytics Workspace

AvailableServiceTiers

  • GETWorkspaces_AvailableServiceTiers/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/availableServiceTiers?api-version=stringGets the available service tiers for the workspace.

Operations

  • GETOperations_List/providers/Microsoft.OperationalInsights/operations?api-version=stringLists all of the available OperationalInsights Rest API operations.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
17 operations on 13 pathsGET 8POST 4DELETE 3PUT 2
Main resources
Workspaces 7SavedSearches 4StorageInsights 4AvailableServiceTiers 1Operations 1
Response formats
application/json
Description format
Swagger 2.0, API version 2015-03-20

How to test the Azure Operationalinsights in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Operationalinsights collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “StorageInsights_Get” (GET /subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs/:storageInsightName?api-version=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Operationalinsights?

Azure Log Analytics API reference. It is listed under Developer tools and has 17 endpoints.

Who publishes the Azure Operationalinsights?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Operationalinsights?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Operationalinsights?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Operationalinsights have?

17 operations on 13 paths (8 GET, 4 POST, 3 DELETE, 2 PUT). The largest groups are Workspaces, SavedSearches, StorageInsights, AvailableServiceTiers.

Is forking the Azure Operationalinsights free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.