Dashboards & Visualizations

Form search is not working from Input

msackett
New Member

I built a Form and have Inputs, but none of the inputs work. I tried one at a time and all together. It seems like the basic search is correct, but still not working. Can anyone help find out why? Below is the form and I only have one search currently in it. Looking to add multiple inputs if I can get this one to work.

<form>
  <label>ITO Session Log</label>
  <description>Search</description>
  <fieldset submitButton="true">
    <input type="time" token="Time" searchWhenChanged="false">
      <default>
        <earliest>@d</earliest>
        <latest>now</latest>
      </default>
    </input>
    <input type="text" token="id" searchWhenChanged="true">
      <label>Cafe</label>
      <default>*</default>
    </input>
  </fieldset>
  <row>
    <panel>
      <event>
        <title>Session Log</title>
        <search>
          <query>index=ff Cafe=$id$</query>
          <earliest>$Time.earliest$</earliest>
          <latest>$Time.latest$</latest>
        </search>
        <option name="count">10</option>
        <option name="list.drilldown">full</option>
        <option name="list.wrap">1</option>
        <option name="maxLines">5</option>
        <option name="raw.drilldown">full</option>
        <option name="rowNumbers">0</option>
        <option name="table.drilldown">all</option>
        <option name="table.wrap">1</option>
        <option name="type">list</option>
        <fields>[]</fields>
      </event>
    </panel>
  </row>
</form>
Tags (2)
0 Karma
1 Solution

muebel
SplunkTrust
SplunkTrust

Try taking out the

           <earliest>$Time.earliest$</earliest>
           <latest>$Time.latest$</latest>

entries from your row. Also remove the token="Time" config from the time picker. The dashboard will default to the time given by the picker. Let me know how that works.

View solution in original post

0 Karma

muebel
SplunkTrust
SplunkTrust

Try taking out the

           <earliest>$Time.earliest$</earliest>
           <latest>$Time.latest$</latest>

entries from your row. Also remove the token="Time" config from the time picker. The dashboard will default to the time given by the picker. Let me know how that works.

0 Karma

msackett
New Member

That worked... Thanks for the help..

0 Karma

woodcock
Esteemed Legend

Be sure to click "Accept".

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...