Dashboards & Visualizations

Why is my dashboard panel only displaying data from the last 2 hours with a time range set for 24 hours in Splunk 5.0.5?

aniketb
Path Finder

I'm using Splunk enterprise 5.0.5

I have a dashboard to chart the response time of a specific transaction.

Even though I have an inline search string in a panel and have set the time range to 24 hours, the panel only charts around last 2 hours.

Is this a product limitation or does it depend on number of results?

I now have to manually run the search, export, and chart in Excel rather than exposing the dashboard to intended audience.

0 Karma
1 Solution

pj
Contributor

woodcock
Esteemed Legend

I assume you are being limited to 10 so Edit source and change this:

<option name="count">10</option>

To this (or similar):

<option name="count">10000</option>
0 Karma

pj
Contributor

Could be hitting some truncation limits as outlined here:
http://docs.splunk.com/Documentation/Splunk/6.4.0/Viz/ChartDisplayissues

aniketb
Path Finder

It's formatting the xml. I basically used:

charting.chart.resultTruncationLimit = 10000
Since my 24 hour data had around 5000 results

charting.data.count = 0

0 Karma

aniketb
Path Finder

Thanks,

Adding below line fixed it for me.

0

0 Karma

woodcock
Esteemed Legend

It looks like your paste failed ...?

0 Karma

woodcock
Esteemed Legend

You are doing something wrong but you have not given us any detail so nobody can help.

0 Karma

aniketb
Path Finder

What do you want woodcock?

0 Karma

woodcock
Esteemed Legend

The XML for the non-working panel and the token values (usually timepicker) that cause it not to run correctly.

0 Karma

aniketb
Path Finder

Here's my xml:

Blockquote

Testing AB

<chart>
  <searchString>sourcetype="Apache2" AND "method=PUT" AND "my confidential data"  | rex field=Respond "^(?&lt;Response_Time&gt;\w+) " | table timestamp, Response_Time</searchString>
  <title>Testing panel</title>
  <earliestTime>-24h@h</earliestTime>
  <latestTime>-1m@m</latestTime>
  <option name="charting.axisTitleX.text">Seconds</option>
  <option name="charting.axisTitleY.text">Timestamp</option>
  <option name="charting.chart">line</option>
  <option name="charting.primaryAxisTitle.text"></option>
  <option name="charting.secondaryAxisTitle.text"></option>
  <option name="count">10</option>
  <option name="displayRowNumbers">true</option>
</chart>

Blockquote

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...