<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Form Tokens Not Working in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124579#M7320</link>
    <description>&lt;P&gt;When you click on Submit button, what query string you see in the URL?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2014 17:53:16 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-04-08T17:53:16Z</dc:date>
    <item>
      <title>Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124578#M7319</link>
      <description>&lt;P&gt;The following form is not behaving as intended. The tokens don't always make it through. I can verify this by clicking on the open in search link on the results and see that the token expanded to the default value. I've tried restarting splunk, and clearing browser data. Any ideas? Splunk 6.0 64bit running on Linux.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Service Starts&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;Shows any service start, with time, host and service&amp;lt;/description&amp;gt;
  &amp;lt;fieldset&amp;gt;
    &amp;lt;input type="text" token="server"&amp;gt;
      &amp;lt;label&amp;gt;Hosts to match&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="svc"&amp;gt;
      &amp;lt;label&amp;gt;Service to match&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;ELTPGuardian&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="time" searchWhenChanged="true"&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliestTime&amp;gt;@d&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;searchString&amp;gt;host=$server$ sourcetype="WinEventLog:Application" started SourceName=$svc$  | transaction maxpause=10m pod SourceName | table _time pod host SourceName | rename SourceName as Service&amp;lt;/searchString&amp;gt;
      &amp;lt;earliestTime&amp;gt;$earliest$&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;$latest$&amp;lt;/latestTime&amp;gt;
      &amp;lt;option name="count"&amp;gt;50&amp;lt;/option&amp;gt;
      &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
      &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Apr 2014 17:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124578#M7319</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2014-04-08T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124579#M7320</link>
      <description>&lt;P&gt;When you click on Submit button, what query string you see in the URL?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 17:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124579#M7320</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-04-08T17:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124580#M7321</link>
      <description>&lt;P&gt;What specific behavior do you expect? And what behavior do you actually see?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 20:52:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124580#M7321</guid>
      <dc:creator>dfoster_splunk</dc:creator>
      <dc:date>2014-04-08T20:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124581#M7322</link>
      <description>&lt;P&gt;I put a value into the Server field, but the search executes with the default value of "*". If I remove the default value from the configs, i cannot submit the form. Splunk behaves as if it's empty even with a value in it. I'm using Chrome and Safari on OSX.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 20:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124581#M7322</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2014-04-08T20:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124582#M7323</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Service Starts&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;Shows any service start, with time, host and service&amp;lt;/description&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="true"&amp;gt;
    &amp;lt;input type="text" token="server"&amp;gt;
      &amp;lt;label&amp;gt;Hosts to match&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="svc"&amp;gt;
      &amp;lt;label&amp;gt;Service to match&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;ELTPGuardian&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="time" searchWhenChanged="true"&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliestTime&amp;gt;@d&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;searchString&amp;gt;index=* host=$server$ sourcetype="WinEventLog:Application" started SourceName=$svc$  | transaction maxpause=10m pod SourceName | table _time pod host SourceName | rename SourceName as Service&amp;lt;/searchString&amp;gt;
      &amp;lt;earliestTime&amp;gt;$earliest$&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;$latest$&amp;lt;/latestTime&amp;gt;
    &amp;lt;option name="showPager"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;option name="count"&amp;gt;50&amp;lt;/option&amp;gt;
      &amp;lt;option name="displayRowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
      &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Add index name in search string, submit button added to code click on submit button to view results. Showpager to display table also added to code.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2014 17:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124582#M7323</guid>
      <dc:creator>d12harshal</dc:creator>
      <dc:date>2014-05-19T17:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124583#M7324</link>
      <description>&lt;P&gt;After entering a new value in the Server field, are you clicking the Submit button?&lt;/P&gt;

&lt;P&gt;Default value gets applied on page load, as well as if no other value exists.  If you want the ability to have an empty string as a value, then you should use &lt;SEED&gt;&lt;/SEED&gt; rather than &lt;DEFAULT&gt;&lt;/DEFAULT&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2014 17:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124583#M7324</guid>
      <dc:creator>nfilippi_splunk</dc:creator>
      <dc:date>2014-05-19T17:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124584#M7325</link>
      <description>&lt;P&gt;Yes, clicking the submit. It is inconsistent. I've included a header in the results area now that echoes what the server field is. Sometimes it shows * even when I've clearly entered info (and clicked submit) and other times it works fine.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2014 17:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124584#M7325</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2014-05-19T17:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Form Tokens Not Working</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124585#M7326</link>
      <description>&lt;P&gt;Hi @d12harshal ,&lt;/P&gt;

&lt;P&gt;I'm also facing the same issue, for multi dropdown dashboard token is not working in query search.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/780873/multivalve-drilldown-and-dropdown-is-not-working-i.html"&gt;https://answers.splunk.com/answers/780873/multivalve-drilldown-and-dropdown-is-not-working-i.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 03:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Tokens-Not-Working/m-p/124585#M7326</guid>
      <dc:creator>nagarajsf</dc:creator>
      <dc:date>2019-11-07T03:10:17Z</dc:date>
    </item>
  </channel>
</rss>

