npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/azure_arm_operationalinsights

v3.0.0

Published

DataFire integration for Azure Log Analytics

Readme

@datafire/azure_arm_operationalinsights

Client library for Azure Log Analytics

Installation and Usage

npm install --save datafire @datafire/azure_arm_operationalinsights
let datafire = require('datafire');
let azure_arm_operationalinsights = require('@datafire/azure_arm_operationalinsights').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: "",
});

azure_arm_operationalinsights.Workspaces_ListLinkTargets({}).then(data => {
  console.log(data);
})

Description

Azure Log Analytics API reference for LinkTargets, StorageInsightConfigs and SavedSearches.

Actions

Workspaces_ListLinkTargets

Get a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription. The subscriptionId parameter in the Url is ignored.

azure_arm_operationalinsights.Workspaces_ListLinkTargets({
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SavedSearches_ListByWorkspace

Gets the saved searches for a given Log Analytics Workspace

azure_arm_operationalinsights.SavedSearches_ListByWorkspace({
  "resourceGroupName": "",
  "workspaceName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SavedSearches_Delete

Deletes the specified saved search in a given workspace.

azure_arm_operationalinsights.SavedSearches_Delete({
  "resourceGroupName": "",
  "workspaceName": "",
  "savedSearchName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • savedSearchName (string) required - Name of the saved search.
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SavedSearches_Get

Gets the specified saved search for a given workspace.

azure_arm_operationalinsights.SavedSearches_Get({
  "resourceGroupName": "",
  "workspaceName": "",
  "savedSearchName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • savedSearchName (string) required - The id of the saved search.
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SavedSearches_CreateOrUpdate

Creates or updates a saved search for a given workspace.

azure_arm_operationalinsights.SavedSearches_CreateOrUpdate({
  "resourceGroupName": "",
  "workspaceName": "",
  "savedSearchName": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • savedSearchName (string) required - The id of the saved search.
  • parameters (undefined) required - Value object for saved search results.
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SavedSearches_GetResults

Gets the results from a saved search for a given workspace.

azure_arm_operationalinsights.SavedSearches_GetResults({
  "resourceGroupName": "",
  "workspaceName": "",
  "savedSearchName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • savedSearchName (string) required - The name of the saved search.
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Workspaces_GetSchema

Gets the schema for a given workspace.

azure_arm_operationalinsights.Workspaces_GetSchema({
  "resourceGroupName": "",
  "workspaceName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Workspaces_GetSearchResults

Submit a search for a given workspace. The response will contain an id to track the search. User can use the id to poll the search status and get the full search result later if the search takes long time to finish.

azure_arm_operationalinsights.Workspaces_GetSearchResults({
  "resourceGroupName": "",
  "workspaceName": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • parameters (undefined) required - Parameters specifying the search query and range.
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Workspaces_UpdateSearchResults

Gets updated search results for a given search query.

azure_arm_operationalinsights.Workspaces_UpdateSearchResults({
  "resourceGroupName": "",
  "workspaceName": "",
  "id": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics workspace name
  • id (string) required - The id of the search that will have results updated. You can get the id from the response of the GetResults call.
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

StorageInsights_ListByWorkspace

Lists the storage insight instances within a workspace

azure_arm_operationalinsights.StorageInsights_ListByWorkspace({
  "resourceGroupName": "",
  "workspaceName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics Workspace name that will contain the storageInsightsConfigs resource
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

StorageInsights_Delete

Deletes a storageInsightsConfigs resource

azure_arm_operationalinsights.StorageInsights_Delete({
  "resourceGroupName": "",
  "workspaceName": "",
  "storageInsightName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics Workspace name that contains the storageInsightsConfigs resource
  • storageInsightName (string) required - Name of the storageInsightsConfigs resource
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

StorageInsights_Get

Gets a storage insight instance.

azure_arm_operationalinsights.StorageInsights_Get({
  "resourceGroupName": "",
  "workspaceName": "",
  "storageInsightName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics Workspace name that contains the storageInsightsConfigs resource
  • storageInsightName (string) required - Name of the storageInsightsConfigs resource
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

StorageInsights_CreateOrUpdate

Create or update a storage insight.

azure_arm_operationalinsights.StorageInsights_CreateOrUpdate({
  "resourceGroupName": "",
  "workspaceName": "",
  "storageInsightName": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Parameters

  • resourceGroupName (string) required - The name of the resource group to get. The name is case insensitive.
  • workspaceName (string) required - Log Analytics Workspace name that will contain the storageInsightsConfigs resource
  • storageInsightName (string) required - Name of the storageInsightsConfigs resource
  • parameters (undefined) required - The top level storage insight resource container.
  • api-version (string) required - Client Api Version.
  • subscriptionId (string) required - Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.