Dashboards & Visualizations

How to reset timepicker?

matstap
Communicator

I have a dashboard with a panel with a table that depends on $time_tok.earliest$ from the time picker. I have an option in a dropdown, token=deployment, to reset the time tokens and thus hide the table:

<input type="dropdown" token="deployment">
      <label>Deployment</label>
      <choice value="choice1">choice1</choice>
      <choice value="choice2">choice2</choice>
      <choice value="choice3">choice3</choice>
      <choice value="&quot;&quot;">Select</choice>
      <change>
        <condition value="&quot;&quot;">
          <unset token="time_tok.earliest"></unset>
          <unset token="time_tok.latest"></unset>
        </condition>
      </change>
    </input>

When I select this option to reset the timepicker tokens, the table is successfully hidden, but the time tokens aren't being set when I click Submit, so the table is never unhidden. How do I achieve this?

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...