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!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...