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_operationalinsights_swagger

v3.0.0

Published

DataFire integration for Azure Log Analytics

Downloads

20

Readme

@datafire/azure_operationalinsights_swagger

Client library for Azure Log Analytics

Installation and Usage

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

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

Description

This API exposes Azure Log Analytics query capabilities

Actions

Query_Get

Executes an Analytics query for data

azure_operationalinsights_swagger.Query_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": "",
  "query": "",
  "apiVersion": ""
}, context)

Input

  • input object
    • subscriptionId required string: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The name of the resource group to get. The name is case insensitive.
    • workspaceName required string: Name of the Log Analytics workspace.
    • query required string: The Analytics query. Learn more about the Analytics query syntax
    • timespan string: Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.
    • apiVersion required string: Client API version.

Output

Query_Execute

Executes an Analytics query for data. Here is an example for using POST with an Analytics query.

azure_operationalinsights_swagger.Query_Execute({
  "subscriptionId": "",
  "resourceGroupName": "",
  "workspaceName": "",
  "body": {
    "query": ""
  },
  "apiVersion": ""
}, context)

Input

  • input object
    • subscriptionId required string: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
    • resourceGroupName required string: The name of the resource group to get. The name is case insensitive.
    • workspaceName required string: Name of the Log Analytics workspace.
    • body required queryBody
    • apiVersion required string: Client API version.

Output

Definitions

column

  • A table column. object: A column in a table.
    • name string: The name of this column.
    • type string: The data type of this column.

errorDetail

  • Error details. object
    • additionalProperties object
    • code required string: The error's code.
    • message required string: A human readable error message.
    • resources array: Indicates resources which were responsible for the error.
      • items string
    • target string: Indicates which property in the request is responsible for the error.
    • value string: Indicates which value in 'target' is responsible for the error.

errorInfo

  • The code and message for an error. object
    • additionalProperties object
    • code required string: A machine readable error code.
    • details array: error details.
    • innererror errorInfo
    • message required string: A human readable error message.

errorResponse

  • Error details. object: Contains details when the response code indicates an error.

queryBody

queryParam

queryResults

  • A query response. object: Contains the tables, columns & rows resulting from a query.
    • tables required array: The list of tables, columns and rows.

table

  • A query response table. object: Contains the columns and rows for one table in a query response.
    • columns required array: The list of columns in this table.
    • name required string: The name of the table.
    • rows required array: The resulting rows from this query.
      • items array
        • items string

timespanParam

  • timespanParam string: Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

workspacesParam

  • workspacesParam array: Workspace IDs to include in cross-workspace queries.
    • items string