<?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 How to addterm to search using two form fields in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-addterm-to-search-using-two-form-fields/m-p/63059#M3288</link>
    <description>&lt;P&gt;So i have a static select of values.. and an ExtendedFieldSearch text form field...&lt;/P&gt;

&lt;P&gt;i would like to "addterm" to a hidden search.&lt;/P&gt;

&lt;P&gt;my search string would be "index=myindex thestaticselectedvalue=theformfieldentry"&lt;/P&gt;

&lt;P&gt;I am using the following but can't seem to get the form field's entry into the value (keeps passing null)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name"ConvertToIntention"&amp;gt;
  &amp;lt;param name="intention"&amp;gt;
   &amp;lt;param name="name"&amp;gt;addterm&amp;lt;/param&amp;gt;
   &amp;lt;param name="arg"&amp;gt;
     &amp;lt;param name="$staticselectedvalue$"&amp;gt;$theformfieldentry$&amp;lt;/param&amp;gt;
   &amp;lt;/param&amp;gt;
  &amp;lt;/param&amp;gt;
 &amp;lt;module name="HiddenSearch&amp;gt;
 ... 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I always get "index=myindex staticselectedvalue=null"&lt;/P&gt;

&lt;P&gt;halp!&lt;/P&gt;

&lt;P&gt;TIA,
  Kirby&lt;/P&gt;</description>
    <pubDate>Mon, 04 Oct 2010 20:37:12 GMT</pubDate>
    <dc:creator>hiddenkirby</dc:creator>
    <dc:date>2010-10-04T20:37:12Z</dc:date>
    <item>
      <title>How to addterm to search using two form fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-addterm-to-search-using-two-form-fields/m-p/63059#M3288</link>
      <description>&lt;P&gt;So i have a static select of values.. and an ExtendedFieldSearch text form field...&lt;/P&gt;

&lt;P&gt;i would like to "addterm" to a hidden search.&lt;/P&gt;

&lt;P&gt;my search string would be "index=myindex thestaticselectedvalue=theformfieldentry"&lt;/P&gt;

&lt;P&gt;I am using the following but can't seem to get the form field's entry into the value (keeps passing null)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name"ConvertToIntention"&amp;gt;
  &amp;lt;param name="intention"&amp;gt;
   &amp;lt;param name="name"&amp;gt;addterm&amp;lt;/param&amp;gt;
   &amp;lt;param name="arg"&amp;gt;
     &amp;lt;param name="$staticselectedvalue$"&amp;gt;$theformfieldentry$&amp;lt;/param&amp;gt;
   &amp;lt;/param&amp;gt;
  &amp;lt;/param&amp;gt;
 &amp;lt;module name="HiddenSearch&amp;gt;
 ... 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I always get "index=myindex staticselectedvalue=null"&lt;/P&gt;

&lt;P&gt;halp!&lt;/P&gt;

&lt;P&gt;TIA,
  Kirby&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2010 20:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-addterm-to-search-using-two-form-fields/m-p/63059#M3288</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-10-04T20:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to addterm to search using two form fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-addterm-to-search-using-two-form-fields/m-p/63060#M3289</link>
      <description>&lt;P&gt;ExtendedFieldSearch does not create a "setting" (which is what is "converted" from when you use "ConvertToIntention". Instead, it creates an intention directly. You would need to define the intention in the ExtendedFieldSearch. The problem you'll have is if you're trying to "re-use" the intention, e.g. in clickthrus after it was "consumed" by a search, you won't have a "setting" to re-create the intention from. If this is the case, you'd have to use "TextSetting" instead, though this is different and missing functions that ExtendedFieldSearch provides.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2010 22:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-addterm-to-search-using-two-form-fields/m-p/63060#M3289</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-10-04T22:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to addterm to search using two form fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-addterm-to-search-using-two-form-fields/m-p/63061#M3290</link>
      <description>&lt;P&gt;this is helpful.  i removed the "addterm" piece of code all together and added $staticselectvalue$=$formfieldvalue$ to my search string ... and it seems to only be passing default.. no matter what i type in.  either way this is helpful and thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2010 23:30:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-addterm-to-search-using-two-form-fields/m-p/63061#M3290</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-10-04T23:30:40Z</dc:date>
    </item>
  </channel>
</rss>

