Dashboards & Visualizations

Splunk 6.5.0 simple XML: searchWhenChanged=false not honored in input panels outside of "fieldset"


I noticed in 6.5.0 (and 6.5.1) that the "searchWhenChanged=false" attribute is not honored for input panels outside of "fieldset".
I have quite a few dashboards where I have input panels on top of the dashboard (in the "fieldset") as well as in panels themelves, all with a default value, with "searchWhenChanged=false" as well as "autoRun=false" and "submitButton=true" in .
All those dashboards now run on the loading of the page with the default values, which I don't want.

My workaround right now is to disable some or all default values in the inputs. This prevents the autorun on first load, but as soon as I change a value in the input panels outside of "fieldset" the searches containing the tokens of the input field run again.

Is this expected behaviour? And are there other ways to restore the functionality of the "searchWhenChanged=false" for input panels outside of "fieldset"?

Below is an example which autoruns in 6.5.0 and 6.5.1 but not in my test environment of 6.3.4:

  <fieldset submitButton="true" autoRun="false">
    <input type="time">
    <input type="dropdown" token="index_tok" searchWhenChanged="false">
      <choice value="_*">All</choice>
        <query>| tstats count WHERE index=_* by index</query>
      <input type="dropdown" token="sourcetype_tok" searchWhenChanged="false">
        <choice value="*">All</choice>
          <query>| tstats count WHERE index="$index_tok$" by sourcetype</query>
          <query>| tstats prestats=true count WHERE index=$index_tok$ sourcetype=$sourcetype_tok$ by _time sourcetype | timechart count by sourcetype</query>
        <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">0</option>
        <option name="charting.axisY2.scale">inherit</option>
        <option name="charting.chart">line</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.showDataLabels">none</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.layout.splitSeries.allowIndependentYRanges">0</option>
        <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
        <option name="charting.legend.placement">right</option>
0 Karma


Hey Boris, I caught this as well and reported it to Splunk back in of October 2016. It was fixed in Splunk 6.5.2. I don't remember the JIRA ticket number, but I don't think it matters because I am pretty sure it wasn't referenced in the release notes.

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!