Troubleshoot the Splunk Infrastructure Monitoring data source
This page provides solutions to common issues you might encounter when configuring or using this data source.
Configuration issues
These issues typically occur during initial setup or when modifying data source settings.
Missing access token
This error appears when the access token field is empty or not configured.
Possible causes:
- Access token was not entered during configuration
- Access token was not 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.
Invalid realm configuration
This error occurs when the realm name does not match your Splunk Infrastructure Monitoring deployment.
Possible causes:
- Incorrect realm name entered
- Realm name is missing
Solution:
- Sign in to the SignalFx user interface.
- Navigate to your profile page to find your realm name.
- Update the Realm Name field in your data source configuration with the correct value (for example,
us0,us1,us2,eu0, orap0). - Click Save & test to verify the connection.
Authentication errors
Authentication errors occur when the plugin cannot validate your credentials with the Splunk Infrastructure Monitoring API.
Invalid or expired access token
This error indicates that the access token provided is incorrect or has expired.
Possible causes:
- Access token is incorrect
- Access token has expired
- Access token has been revoked
Solution:
- Verify that the access token is correct.
- Check if the token has expired or been revoked in your Splunk Infrastructure Monitoring account.
- If necessary, generate a new access token.
- Update the access token in your Grafana data source configuration.
- Click Save & test to verify the new token works correctly.
Insufficient permissions
This error occurs when the access token does not have the required permissions for the requested operation.
Possible causes:
- The access token type does not have sufficient permissions
- API access is restricted for your account
Solution:
- Verify the access token type. Different token types have different permissions:
- Org tokens have full API access.
- Team tokens have limited access based on team permissions.
- User API access tokens have permissions based on the user’s role.
- Generate a new token with appropriate permissions if needed.
- Update your data source configuration with the new token.
Connection issues
Connection issues prevent the plugin from communicating with the Splunk Infrastructure Monitoring API.
Unable to connect to Splunk Infrastructure Monitoring
This error appears when the plugin cannot establish a connection to the Splunk Infrastructure Monitoring 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 using 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 Infrastructure Monitoring API endpoints.
- Check if a firewall or proxy is blocking outbound HTTPS connections.
- If using a secure socks proxy, verify the proxy configuration.
Custom URL errors
Errors may occur when custom URLs are incorrectly configured.
Possible causes:
- Malformed URL
- Incorrect protocol (HTTP instead of HTTPS)
- URL does not match the expected Splunk Infrastructure Monitoring endpoints
Solution:
- Verify that custom URLs use the HTTPS protocol.
- Confirm the URL format matches the expected pattern for your realm.
- If you do not need custom URLs, clear the custom URL fields to use the default behavior.
Query issues
Query issues affect specific SignalFlow queries.
No data returned
When a query returns no data, the issue may be with the query configuration or the time range.
Possible causes:
- SignalFlow query syntax error
- Metric does not 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 Language for syntax reference.
- Confirm that the metric name exists in your Splunk Infrastructure Monitoring account.
- Expand the time range to verify that data exists.
- Remove filters from your query to test if 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 function names are spelled correctly.
- Test your query in the SignalFx user interface 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
Ad-hoc filters may not appear to affect query results.
Possible causes:
- The dimension key does not exist in the data
- Filter values do not match any data points
Solution:
- Verify that the dimension key used in the ad-hoc filter 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.
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
- Access token does not have permission to list metrics
Solution:
- Verify that metrics exist in your Splunk Infrastructure Monitoring 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.
Possible causes:
- No dimensions are available
- The Dimensions Query filter is too restrictive
- The selected Dimension Name does not 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 Infrastructure Monitoring account.
- If using a Dimensions Query, verify the syntax. Example:
region:us1 AND hostname:france-*.
Tags variable returns no values
When a tags variable query returns an empty list.
Possible causes:
- No tags are defined in your account
- Access token does not have permission to list tags
Solution:
- Verify that tags exist in your Splunk Infrastructure Monitoring 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.
Possible causes:
- No alerts exist for the specified detector
- Detector name is incorrect
- No alerts triggered during the selected time range
Solution:
- Verify the detector name is correct and exists in your Splunk Infrastructure Monitoring 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.
Possible causes:
- No events exist for the specified event type
- Event type name is incorrect
- No events occurred during the selected time range
Solution:
- Verify 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 reporting issues, include the following information:
- Grafana version
- Plugin version
- Realm name
- Error messages (redact sensitive information)
- Steps to reproduce the issue
- Sample SignalFlow query (if applicable)



