Dashboards & Visualizations

How to reset timepicker?


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">
      <choice value="choice1">choice1</choice>
      <choice value="choice2">choice2</choice>
      <choice value="choice3">choice3</choice>
      <choice value="&quot;&quot;">Select</choice>
        <condition value="&quot;&quot;">
          <unset token="time_tok.earliest"></unset>
          <unset token="time_tok.latest"></unset>

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 APM & RUM | Upcoming Planned Maintenance

There will be planned maintenance of the streaming infrastructure for Splunk APM and Splunk RUM in the coming ...

Part 2: Diving Deeper With AIOps

Getting the Most Out of Event Correlation and Alert Storm Detection in Splunk IT Service Intelligence   Watch ...

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...