LogicMonitor Devices data source plugin
Documentationbreadcrumb arrow Pluginsbreadcrumb arrow LogicMonitor Devices data source plugin
LogicMonitor Devices data source plugin

LogicMonitor Devices data source plugin

LogicMonitor Devices Grafana Enterprise data source plugin

The LogicMonitor Devices data source plugin for Grafana allows you to query and visualize data from LogicMonitor in Grafana.

Note

Grafana LogicMonitor Devices enterprise data source plugin is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available.

Key features

The LogicMonitor Devices data source plugin enables you to query and visualize Device Instance Data, and to list Devices, Datasources, and Instances directly within Grafana.

Requirements

This plugin has the following requirements:

Known Limitations

The LogicMonitor Devices plugin currently supports only Device Instance Data. Additional query types are not supported at this time due to limitations in the LogicMonitor Public API. Expanded query capabilities will be introduced as the LogicMonitor API evolves and provides broader access.

Install the plugin

To install the data source, refer to the Installation guide.

Configure the data source in Grafana

Follow the add a data source guide and fill out the following fields:

Basic fields

FieldDescription
NameA name for this LogicMonitor data source instance.

Authentication fields

This plugin supports bearer token–based authentication. To create a token:

  1. Log in to your LogicMonitor portal.
  2. Navigate to Settings > Users and Roles.
  3. (Optional) Add a new user with a readonly role if one does not already exist.
  4. Go to the Bearer Tokens tab.
  5. Create a new token for the associated user.
FieldDescription
Bearer TokenEnter your LogicMonitor REST API v3 bearer token here

Configure the data source with provisioning

You can configure this data source using configuration files with Grafana’s provisioning system. For more information, refer to Provisioning Grafana data sources.

Example provisioning configuration using bearer token authentication:

yaml
apiVersion: 1
datasources:
  - name: LogicMonitor
    type: grafana-logicmonitor-datasource
    jsonData:
      variables:
        account_name: <account_name>
      authMethod: bearer
    secureJsonData:
      logicmonitor.token: <token>

Replace <account_name> with your LogicMonitor account_name and with your LogicMonitor REST API v3 bearer token.

Query the data source

The query editor allows you to run Device Instance Data queries by selecting the action type and entering the required and optional parameters as needed.

You can also use Devices, Datasources, and Instances to list data in table format.

Explore view

The Explore view allows you to run queries and visualize the results as logs or charts for metrics. For more information about Explore, refer to Explore.

Templates and variables

To add a new LogicMonitor query variable, refer to Add a query variable. Use your LogicMonitor data source and fill out the Query field with your desired LogicMonitor query.

After creating a variable, you can use it in your LogicMonitor queries using Variable syntax. For more information about variables, refer to Templates and variables.

Learn more