Dashboards & Visualizations

System input will not repopulate when time range picker selection is changed

zd00191
Communicator

Hello. I have a dashboard with two inputs to select from a the top. One is te time range picker and the other is System. When I change the time range picker, the System input drop down does not repopulate. Can anyone please explain why? I have put the top of the xml below?

 <form>
  <label>CA Autosys Executive Summary</label>
  <fieldset autoRun="true" submitButton="false">
    <input type="time" searchWhenChanged="true" token="dashboardTime">
      <default>
        <earliestTime>@d</earliestTime>
        <latestTime>now</latestTime>
      </default>
    </input>
    <input type="dropdown" token="System" searchWhenChanged="true">
      <label>System</label>
      <choice value="*">All</choice>
      <default>*</default>
      <populatingSearch fieldForValue="System" fieldForLabel="System">
        <![CDATA[ index=ko_autosys sourcetype=autosys_applog_scheduler_events host="usatlb98" OR host="usatlb91" $dashboardTime$ |stats count by System ]]>
      </populatingSearch>
    </input>
  </fieldset>
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

That's because you're not setting the time range properly on the populatingSearch. Should be like this:

<populatingSearch earliest="$dashboardTime.earliest$" latest="$dashboardTime.latest$" ...>

http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/PanelreferenceforSimplifiedXML

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

That's because you're not setting the time range properly on the populatingSearch. Should be like this:

<populatingSearch earliest="$dashboardTime.earliest$" latest="$dashboardTime.latest$" ...>

http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/PanelreferenceforSimplifiedXML

Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...