Dashboards & Visualizations

After upgrading to Splunk 6.3.2, why do some time range selections not work with some dashboard panels?

Sr59
Explorer

Hi!

For example, Date Range selection for last 30 days works OK, but Preset last 30 days doesn't show any data in the panel, and again last month selection works OK. I have in the same dashboard several panels and only one panel is problematic.

Maybe Splunk 6.4.2 could solve this problem?

Kind Regards,
Hannu

0 Karma

Sr59
Explorer

Hi!

Surprisingly it works now without any changes.
I was not able to include all the source code with all the 6 inputs and 20 panels. The source code was cot correctly interpreted to the preview pane and was more or less unreadable.

This is the code for the problematic panel only.

<panel>
  <chart>
    <title>LTE site reset summary (CRT2/7)</title>
    <search>
      <query>index=rfs_* sourcetype=_json source=*CRT* source=*$ratselector$* $siteselector$ configid=$configselector$ $commentselector$ | rex field=source "(?i)RFSharing_LTE_(?<RunNumber>[^_]+)" | search RunNumber=reset | rex field=execution_comment "(?<RoType>^ROLR)"  | search RoType=ROLR | rename "script_data.script_status" AS "Result" | rename "script_data.name" AS "Testcase" | eval NOK=case(Result == "False", "NOK") | eval OK=case(Result == "True", "OK") | stats count(Testcase) as "Nr of Runs" count(OK) as "OKs" count(NOK) as "NOKs"</query>
      <earliest>$field1.earliest$</earliest>
      <latest>$field1.latest$</latest>
    </search>
    <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
    <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
    <option name="charting.axisTitleX.visibility">visible</option>
    <option name="charting.axisTitleY.visibility">visible</option>
    <option name="charting.axisTitleY2.visibility">visible</option>
    <option name="charting.axisX.scale">linear</option>
    <option name="charting.axisY.scale">linear</option>
    <option name="charting.axisY2.enabled">false</option>
    <option name="charting.axisY2.scale">inherit</option>
    <option name="charting.chart">column</option>
    <option name="charting.chart.bubbleMaximumSize">50</option>
    <option name="charting.chart.bubbleMinimumSize">10</option>
    <option name="charting.chart.bubbleSizeBy">area</option>
    <option name="charting.chart.nullValueMode">gaps</option>
    <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
    <option name="charting.chart.stackMode">default</option>
    <option name="charting.chart.style">shiny</option>
    <option name="charting.drilldown">all</option>
    <option name="charting.layout.splitSeries">0</option>
    <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
    <option name="charting.legend.placement">right</option>
    <option name="charting.fieldColors">{"NOKs":0xFF0000,"OKs":0x00EC00}</option>
    <option name="charting.axisTitleY2.text">RFSharing_LTE_reset</option>
  </chart>
</panel>

Regards,
Hannu

0 Karma

somesoni2
Revered Legend

Check if the time range token is used correctly for that panel (should be same as other working panels).

0 Karma

Sr59
Explorer

Thanks! I'm using Shared Time Picker similarly in all panels.

0 Karma

gyslainlatsa
Motivator

hi Sr59,
please post your xml code, i try to look the problem

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...