Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Splunk Infrastructure Monitoring data source for Grafana
Enterprise

Splunk Infrastructure Monitoring data source for Grafana

The Splunk Infrastructure Monitoring data source plugin allows you to query and visualize Splunk Infrastructure Monitoring metrics from within Grafana.

Requirements

This plugin has the following requirements:

  • A Splunk Infrastructure Monitoring (previously SignalFx) account
  • One of the following account types:
    • Grafana Cloud: Pro customers, Advanced customers, or Pro trial users with the Enterprise plugin add-on enabled
    • Grafana Enterprise: Customers with an activated license and a user with Grafana server or organization administration permissions
  • The Enterprise plugin add-on enabled

Known limitations

There are no known limitations for this plugin.

Install the plugin

  1. Navigate to the Splunk Infrastructure Monitoring plugin homepage.

  2. From the left-hand menu, click the Install plugin button.

    The Installation tab is displayed.

Meet compatibility requirements

For this plugin, there are no compatibility requirements.

Verify that the plugin is installed

  1. In Grafana Enterprise from the left-hand menu, navigate to Configuration > Data sources.
  2. From the top-right corner, click the Add data source button.
  3. Search for Splunk Infrastructure Monitoring in the search field, and hover over the Splunk Infrastructure Monitoring search result.
  4. Click the Select button for Splunk Infrastructure Monitoring.
    • If you can click the Select button, then it is installed.
    • If the button is missing or disabled, then the plugin is not installed. Check to see if your Grafana Enterprise license is valid, and reinstall the plugin. If you still need help, contact Grafana Labs.

Configure the data source in Grafana

Follow these instructions to add a new Splunk Infrastructure Monitoring data source, and fill out these fields:

Access Token
Enter the access token generated by your SignalFx account. There are multiple types to choose from. To learn more about access token types, refer to authentication tokens.
Realm
Enter a realm which is a self-contained deployment that hosts your organization. You can find your realm name on your profile page when signed in to the SignalFx user interface.

Configure the data source with provisioning

It is possible to configure data sources using config files with Grafana’s provisioning system. You can read more about how it works and all the settings you can set for data sources on the provisioning docs page

Here are some provisioning examples for this data source using basic auth

yaml
apiVersion: 1
datasources:
  - name: Splunk Infrastructure Monitoring
    type: grafana-splunk-monitoring-datasource
    access: proxy
    basicAuth: false
    editable: true
    enabled: true
    jsonData:
      realmName: Realm name
    secureJsonData:
      accessToken: access token

Query the data source

The query editor accepts a SignalFlow program/query. To learn more about SignalFlow, refer to SignalFlow Analytics Language.

Using Signalflow labels

Signalflow labels will be applied as metadata to the results. For example, publish(label = 'foo') adds a label="foo" to the meta data.

Templates and variables

To add a new Splunk Infrastructure Monitoring query variable, refer to Add a query variable. Use your Splunk Infrastructure Monitoring data source as your data source and select one of the following query types:

Dimensions
Choose a dimension name from the dropdown list. To learn more about dimensions, refer to dimension.
Metrics
To learn more about dimensions, refer to metric.
Tags
To learn more about dimensions, refer to tag.

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

Learn more

Additional annotations help

When creating Annotations, use SignalFlow Alerts or Events queries.

Example of getting Alerts for a detector:

js
alerts(detector_name='Deployment').publish();

Example of getting custom Events by type:

js
events(eventType='simulated').publish();