Dashboards & Visualizations

how to use shared time picker for multi select input dynamic query

kranthimutyala
Path Finder

I have created a dashboard with multi select input to select the required value from the list and a time picker input to restrict the results for a specific time period.

Now i want to use this time picke

Tags (1)
0 Karma

vnravikumar
Champion

Hi

Check this

<form>
  <label>timepicker</label>
  <fieldset submitButton="false">
    <input type="time" token="time">
      <label></label>
      <default>
        <earliest>-24h@h</earliest>
        <latest>now</latest>
      </default>
    </input>
    <input type="multiselect" token="field2">
      <label>field2</label>
      <fieldForLabel>sourcetype</fieldForLabel>
      <fieldForValue>sourcetype</fieldForValue>
      <search>
        <query>index=_internal |stats count by sourcetype</query>
        <earliest>$time.earliest$</earliest>
        <latest>$time.latest$</latest>
      </search>
    </input>
  </fieldset>
</form>
0 Karma

vnravikumar
Champion

Hi

Can you specify your requirements completely?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...