Dashboards & Visualizations

Gaps in graphs

jangid
Builder

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>
Tags (3)
1 Solution

dwaddle
SplunkTrust
SplunkTrust

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...

View solution in original post

dwaddle
SplunkTrust
SplunkTrust

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...

sowings
Splunk Employee
Splunk Employee

Try simply <option name="charting.chart.nullValueMode">connect</option>

NeerajDhapola7
Path Finder

I am with @SoWings as newer Version has below option

<option name="charting.chart.nullValueMode">connect</option>
0 Karma

jangid
Builder

Thanks for your reply but its not working 😞

0 Karma

MHibbin
Influencer

beat me to it..

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...