Troubleshoot Splunk Infrastructure Monitoring data source issues
This page provides solutions to common issues you might encounter when you configure or use the Splunk Infrastructure Monitoring data source. The sections follow the order in which you typically set up and use the data source: connection, authentication, configuration, queries, template variables, and annotations.
Connection issues
Connection issues prevent the plugin from communicating with the Splunk Observability Cloud API.
Unable to connect to Splunk Observability Cloud
This error appears when the plugin can’t establish a connection to the Splunk Observability Cloud API.
Possible causes:
- Network connectivity issues
- Incorrect realm configuration
- Firewall blocking outbound connections
- Custom URL misconfiguration
Solution:
- Verify that the realm name is correct.
- If you use custom URLs, confirm that the URLs are formatted correctly:
- Metrics Metadata URL:
https://api.{REALM}.signalfx.com - SignalFlow URL:
https://stream.{REALM}.signalfx.com
- Metrics Metadata URL:
- Confirm that your Grafana server can reach the Splunk Observability Cloud API endpoints.
- Check whether a firewall or proxy is blocking outbound HTTPS connections.
- If you use a secure socks proxy, verify the proxy configuration.
Custom URL errors
Errors can occur when custom URLs are incorrectly configured.
Possible causes:
- Malformed URL
- Incorrect protocol, such as HTTP instead of HTTPS
- URL doesn’t match the expected Splunk Observability Cloud endpoints
Solution:
- Verify that custom URLs use the HTTPS protocol.
- Confirm the URL format matches the expected pattern for your realm, on either the
signalfx.comorobservability.splunkcloud.comdomain. - If you don’t need custom URLs, clear the custom URL fields to use the default endpoints for your realm.
Authentication errors
Authentication errors occur when the plugin can’t validate your credentials with the Splunk Observability Cloud API.
invalid/empty access token
This error indicates that the access token field is empty or wasn’t saved.
Possible causes:
- The access token wasn’t entered during configuration.
- The access token wasn’t saved properly.
Solution:
- Go to Connections > Data sources.
- Select your Splunk Infrastructure Monitoring data source.
- Enter a valid access token in the Access Token field.
- Click Save & test to verify the connection.
For instructions on generating access tokens, refer to Authentication tokens in the Splunk documentation.
expected 200 status but got 401
This error indicates that the access token is incorrect, has expired, or lacks the required permissions.
Possible causes:
- The access token is incorrect, expired, or revoked.
- The access token doesn’t have sufficient permissions for the requested operation.
Solution:
- Verify that the access token is correct.
- Check whether the token is expired or revoked in your Splunk Observability Cloud account.
- Verify the token scope. Splunk Observability Cloud provides two token types:
- Organization (org) access tokens are long-lived tokens. Create an org token with the API authentication scope and associate at least one role, such as
power,usage, orread_only. - User API access (session) tokens are short-lived tokens tied to a user.
- Organization (org) access tokens are long-lived tokens. Create an org token with the API authentication scope and associate at least one role, such as
- If necessary, generate a new access token with appropriate permissions.
- Update the access token in your Grafana data source configuration.
- Click Save & test to verify that the new token works correctly.
For more information about token types and scopes, refer to Authentication tokens in the Splunk documentation.
Configuration issues
These issues typically occur during initial setup or when you modify data source settings.
Invalid realm configuration
This error occurs when the realm name doesn’t match your Splunk Observability Cloud deployment.
Possible causes:
- Incorrect realm name entered
- Realm name is missing
Solution:
- Sign in to Splunk Observability Cloud.
- Open the navigation menu, select Settings, and then select your username. The realm name appears in the Organizations section.
- Update the Realm Name field in your data source configuration with the correct value, for example
us0,us1,us2,eu0,eu1,eu2,au0,jp0, orsg0. - Click Save & test to verify the connection.
Query issues
Query issues affect specific SignalFlow queries.
No data returned
When a query returns no data, the issue might be with the query configuration or the time range.
Possible causes:
- SignalFlow query syntax error
- Metric doesn’t exist
- No data exists for the selected time range
- Filters are too restrictive
Solution:
- Verify that the SignalFlow query syntax is correct. Refer to SignalFlow analytics for a syntax reference.
- Confirm that the metric name exists in your Splunk Observability Cloud account.
- Expand the time range to verify that data exists.
- Remove filters from your query to test whether data appears, then add filters back one at a time.
- Check the query inspector for detailed error messages.
SignalFlow syntax errors
Syntax errors prevent the query from executing.
Possible causes:
- Missing parentheses or quotes
- Invalid function names
- Incorrect filter syntax
Solution:
- Review the SignalFlow query for common syntax issues:
- Ensure all parentheses are balanced.
- Use single quotes for string values in filters.
- Verify that function names are spelled correctly.
- Test your query in Splunk Observability Cloud to validate the syntax.
- Refer to the SignalFlow reference documentation for correct syntax.
Example of correct filter syntax:
data('cpu.utilization', filter=filter('host', 'server1')).publish()Ad hoc filters not applying
The Ad hoc filters variable might not appear to affect query results.
Possible causes:
- The dimension key doesn’t exist in the data.
- Filter values don’t match any data points.
Solution:
- Verify that the dimension key used in the Ad hoc filters variable exists in your metrics.
- Confirm that the filter value matches actual values in your data.
- Check the query inspector to see the modified query with applied filters.
Template variable issues
Issues with template variables can affect multiple panels across a dashboard.
Metrics variable returns no values
When a metrics variable query returns an empty list, panels using that variable show no data.
Possible causes:
- No metrics are available in your account.
- The access token doesn’t have permission to list metrics.
Solution:
- Verify that metrics exist in your Splunk Observability Cloud account.
- Check that your access token has permission to query metrics.
- Test the connection using Save & test in the data source configuration.
Dimensions variable returns no values
When a dimensions variable query returns an empty list, panels using that variable show no data.
Possible causes:
- No dimensions are available.
- The Dimensions Query filter is too restrictive.
- The selected Dimension Name doesn’t exist.
Solution:
- Clear the Dimensions Query field to return all dimensions.
- Clear the Dimension Name selection to return dimension keys instead of values.
- Verify that the dimension exists in your Splunk Observability Cloud account.
- If you use a Dimensions Query, verify the syntax. For example:
region:us1 AND hostname:france-*.
Tags variable returns no values
When a tags variable query returns an empty list, panels using that variable show no data.
Possible causes:
- No tags are defined in your account.
- The access token doesn’t have permission to list tags.
Solution:
- Verify that tags exist in your Splunk Observability Cloud account.
- Check that your access token has permission to query tags.
Annotation issues
Issues with annotations can prevent alerts or events from displaying on your dashboards.
Alerts annotation returns no data
When an alerts annotation query returns no results, no alerts appear on your dashboard.
Possible causes:
- No alerts exist for the specified detector.
- The detector name is incorrect.
- No alerts triggered during the selected time range.
Solution:
- Verify that the detector name is correct and exists in your Splunk Observability Cloud account.
- Expand the time range to include periods when alerts were triggered.
- Verify the query syntax:
alerts(detector_name='YourDetectorName').publish()Events annotation returns no data
When an events annotation query returns no results, no events appear on your dashboard.
Possible causes:
- No events exist for the specified event type.
- The event type name is incorrect.
- No events occurred during the selected time range.
Solution:
- Verify that the event type name is correct.
- Expand the time range to include periods when events occurred.
- Verify the query syntax:
events(eventType='YourEventType').publish()Get additional help
If you continue to experience issues:
- Check the Grafana community forums for similar issues and solutions.
- Review the Splunk Infrastructure Monitoring documentation for API-specific issues.
- Contact Grafana Support if you have a Grafana Enterprise license or a Grafana Cloud Pro or Advanced plan.
When you report issues, include the following information:
- Grafana version
- Plugin version
- Realm name
- Error messages, with sensitive information redacted
- Steps to reproduce the issue
- Sample SignalFlow query, if applicable


