I am calculating avg but some time my graph contains gap.
How do I fill this gap with line(last value)?
here is my xml
<row>
<chart>
<searchTemplate>
sourcetype=mysearch.. | where ElapsedTime > 0 | timechart avg(ElapsedTime)
</searchTemplate>
<title>Transaction Average</title>
<option name="charting.chart">line</option>
<option name="charting.primaryAxisTitle.text">Time</option>
<option name="charting.secondaryAxisTitle.text">Average Transaction Time</option>
</chart>
</row>
It looks like it should be something like:
<option name="charting.chart.line.nullValueMode">connect</option>
Per the docs @ http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/CustomChartingConfig-chartlegend#linecha...
It looks like it should be something like:
<option name="charting.chart.line.nullValueMode">connect</option>
Per the docs @ http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/CustomChartingConfig-chartlegend#linecha...
Try simply <option name="charting.chart.nullValueMode">connect</option>
I am with @SoWings as newer Version has below option
<option name="charting.chart.nullValueMode">connect</option>
Thanks for your reply but its not working 😞
beat me to it..