Chart display issues
This topic covers display issues using chart visualizations.
Searches with non-transforming commands
You cannot render charts using searches that do not include transforming commands, such as the following options.
For more information, see About Transforming commands and searches in the Search Manual.
You can only plot time-based data using the
timechart command. If you try to plot a time-based series using any other transforming search command, the chart treats the timestamp data as a series of strings.
To avoid browser performance impacts, Splunk software limits the the amount of data rendered in an individual chart. When search results exceed limits, a message appears with the chart indicating that data was truncated.
Depending on your Splunk instance type, you can change default rendering behavior using configuration settings and/or Simple XML. You can adjust Simple XML options in individual charts. Splunk Enterprise administrators can also add or edit settings for all charts in the
Use the following table to compare limit configuration options.
|Rendering limit type||In||Setting||Default||Where to configure|
|Total data points||One chart||
|Data points per series||One chart||
|Total data points||All charts in all browsers||
||No default. Specify to override individual browser settings.|| |
|Total data points||Charts in an individual browser|| One or more of the following settings.
|Data series||All charts||
|Data points per series||All charts||
Simple XML data truncation options
You can adjust data truncation in individual charts using Simple XML.
Data point limit for one chart
You can configure the maximum number of points that can be plotted in a specific chart by editing the Simple XML for the chart. In the
<chart> element, edit the
charting.chart.resultTruncationLimit property as described in Area, bar, column, line, and scatter charts in the Chart Configuration Reference.
Data point limit per series in one chart
You can limit the number of search result data points rendered per series in a chart. Edit the
charting.data.count Simple XML setting to override the default value of 10000 data series.
Configuration file data truncation settings
Splunk Enterprise users can add or edit settings in
$SPLUNK_HOME$/etc/system/local/web.conf to change rendering behavior in all charts.
Data point limit for all charts in one or more browsers
web.conf configuration file specifies the maximum number of points that can be plotted for charts in various browsers. All browser limits default to 50000 data points.
You can override individual browser settings or add a
jschart_truncation_limit setting in
$SPLUNK_HOME$/etc/system/local/web.conf to define a limit for all browsers. The
jschart_truncation_limit overrides any individual browser settings.
charting.chart.resultTruncationLimit Simple XML option overrides this limit in an individual chart.
Data series limit for all charts
You can limit the number of data series that charts can render. Add or edit the
jschart_series_limit setting in
$SPLUNK_HOME$/etc/system/local/web.conf to override the default value of 100 data series.
If search results exceed this limit, a chart displays only the number of series that this limit allows. A warning message appears to indicate that the chart is showing truncated search results. For example, if the
jschart_series_limit is 40 and a search returns 50 data series, a chart renders only the first 40 series.
Data point limit per series for all charts
Limit the number of search result data points rendered per series in all charts. Edit the
jschart_results_limit setting in
$SPLUNK_HOME$/etc/system/local/web.conf to override the default value of 10000 data series.
Data series and data point limit precedence
In the case of an individual chart, if the
jschart_series_limit and the
charting.data.count Simple XML options combine to indicate a number greater than the
web.conf, then data points per series are reduced to meet the
For example, you might have a
jschart_series_limit of 10 and a
charting.data.count limit of 100 in a chart. When multiplied, these two settings indicate a 1000 total data point limit for the chart. If the
js_chart_truncation_limit is 800, however, then data points per series are reduced to meet the 800 total point limit.
To override the
js_chart_truncation limit on all charts, you can use
charting.chart.resultTruncationLimit Simple XML option to change the limit for an individual chart.
When you are plotting data by category, Splunk software limits chart label display. This limit differs for the horizontal axis (X-axis) and the vertical axis (Y-axis).
The X-axis must have at least 20 pixels available for each label. The Y-axis must have at least 15 pixels available. If the requisite pixels are not available, the labels do not display.
You can zoom into the X-axis to view labels that are hidden by the category limit. See Pan and zoom chart controls for details.
This documentation applies to the following versions of Splunk® Enterprise: 6.5.1, 6.5.1612 (Splunk Cloud only), 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.6.0, 6.6.1, 6.6.2