<?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 text box input in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40044#M178876</link>
    <description>&lt;P&gt;Hi all &lt;/P&gt;

&lt;P&gt;in a form i need a Text box .in that whatever the value i am giving it should reterive only those task having those value as duration  &lt;/P&gt;

&lt;P&gt;i used the below code...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Sample form&amp;lt;/label&amp;gt;
  &amp;lt;searchTemplate&amp;gt;
    source="C:\Users\20875\Desktop\taskmanager_log.txt"|transaction TaskBP startswith=START endswith=Succeeded|table TaskBP duration|where duration$duration$
  &amp;lt;/searchTemplate&amp;gt;
  &amp;lt;fieldset&amp;gt;
      &amp;lt;input type="text" token="duration"&amp;gt;
        &amp;lt;label&amp;gt;range&amp;lt;/label&amp;gt;
        &amp;lt;default&amp;gt;&amp;lt;/default&amp;gt;
        &amp;lt;seed&amp;gt;600&amp;lt;/seed&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;!-- Add default TimePicker --&amp;gt;
      &amp;lt;input type="time" /&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
      &amp;lt;!-- Show results as a table --&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;option name="showPager"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&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;so if i run the code, i am getting wrong output&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/story-5.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;plz suggest me the correction in the code...&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;

&lt;P&gt;poornima&lt;/P&gt;</description>
    <pubDate>Tue, 20 Nov 2012 10:50:20 GMT</pubDate>
    <dc:creator>splunkpoornima</dc:creator>
    <dc:date>2012-11-20T10:50:20Z</dc:date>
    <item>
      <title>text box input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40044#M178876</link>
      <description>&lt;P&gt;Hi all &lt;/P&gt;

&lt;P&gt;in a form i need a Text box .in that whatever the value i am giving it should reterive only those task having those value as duration  &lt;/P&gt;

&lt;P&gt;i used the below code...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Sample form&amp;lt;/label&amp;gt;
  &amp;lt;searchTemplate&amp;gt;
    source="C:\Users\20875\Desktop\taskmanager_log.txt"|transaction TaskBP startswith=START endswith=Succeeded|table TaskBP duration|where duration$duration$
  &amp;lt;/searchTemplate&amp;gt;
  &amp;lt;fieldset&amp;gt;
      &amp;lt;input type="text" token="duration"&amp;gt;
        &amp;lt;label&amp;gt;range&amp;lt;/label&amp;gt;
        &amp;lt;default&amp;gt;&amp;lt;/default&amp;gt;
        &amp;lt;seed&amp;gt;600&amp;lt;/seed&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;!-- Add default TimePicker --&amp;gt;
      &amp;lt;input type="time" /&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
      &amp;lt;!-- Show results as a table --&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;option name="showPager"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&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;so if i run the code, i am getting wrong output&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/story-5.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;plz suggest me the correction in the code...&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;

&lt;P&gt;poornima&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 10:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40044#M178876</guid>
      <dc:creator>splunkpoornima</dc:creator>
      <dc:date>2012-11-20T10:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: text box input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40045#M178877</link>
      <description>&lt;P&gt;&lt;CODE&gt;| where duration==$duration$&lt;/CODE&gt; ? or perhaps &lt;CODE&gt;| search duration=$duration$&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 11:11:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40045#M178877</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-11-20T11:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: text box input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40046#M178878</link>
      <description>&lt;P&gt;hi drainy &lt;/P&gt;

&lt;P&gt;thanks for ur response ...&lt;/P&gt;

&lt;P&gt;i tried with the answer u had given ..but still i am not getting&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 11:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40046#M178878</guid>
      <dc:creator>splunkpoornima</dc:creator>
      <dc:date>2012-11-20T11:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: text box input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40047#M178879</link>
      <description>&lt;P&gt;...instead you are getting what? Hard to debug with just "it worked" or "it didn't work" as feedback. In my opinion you really need to learn debugging, so you can understand and solve issues yourself.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 11:33:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40047#M178879</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-11-20T11:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: text box input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40048#M178880</link>
      <description>&lt;P&gt;i am getting no results found when i give the values in the text box &lt;/P&gt;

&lt;P&gt;i used the same where codition as drainy suggested&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 11:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40048#M178880</guid>
      <dc:creator>splunkpoornima</dc:creator>
      <dc:date>2012-11-20T11:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: text box input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40049#M178881</link>
      <description>&lt;P&gt;Well did you inspect the search to see why you're not getting results?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 11:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40049#M178881</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-11-20T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: text box input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40050#M178882</link>
      <description>&lt;P&gt;Ayn: Check your email! Splunkppornima: Did you try the search condition instead? Also, all of what Ayn said. You really need to go and learn how to debug these problems to run Splunk effectively&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 11:59:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/text-box-input/m-p/40050#M178882</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-11-20T11:59:46Z</dc:date>
    </item>
  </channel>
</rss>

