Getting Data In

input type="time"

sondradotcom
Path Finder

I'm using

<input type="time">

in my form, but I can't figure out how to make the subsequent tables actually "hear" the time range. They seem to default to looking at the entire set of data regardless of what the time pulldown is set to. Any thoughts?

-S.

Tags (1)
0 Karma

sondradotcom
Path Finder

I can't seem to get it to not parse some of this, but hopefully you get the right idea.

    <form> <label>Live Stream Form</label>


    <fieldset>
        <input type="dropdown" token="Streamname"> <choice value="*">All Streams</choice> <populatingSearch fieldForValue="Streamname" fieldForLabel="Streamname">| inputlookup Streams | dedup Streamname | sort Streamname</populatingSearch> </input>

<input type="time">
        <default>Last 7 days</default>
      </input>   </fieldset> <row> <single>
    <searchTemplate>index=summary search_name="si_flashlive_filename" Streamname="$Streamname$"  | stats count | eval count = tostring(count,"commas")</searchTemplate> <title>Total Requests</title> </single> </form>

Ayn
Legend

Hard to say anything without seeing the whole form. Could you paste the code for the whole form, please.

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 ...