<?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: Parse multiple default or initial Values to Text form input in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Parse-multiple-default-or-initial-Values-to-Text-form-input/m-p/267831#M51365</link>
    <description>&lt;P&gt;You can specify a comma separated list of values as default/initial value for a text box, like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;input type="text" token="field1"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;one, two, three, four&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do you plan to use this? &lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2016 18:07:04 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-07-21T18:07:04Z</dc:date>
    <item>
      <title>Parse multiple default or initial Values to Text form input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parse-multiple-default-or-initial-Values-to-Text-form-input/m-p/267830#M51364</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;

&lt;P&gt;My Problem:&lt;/P&gt;

&lt;P&gt;I have a Dashboard, where I want to parse multiple default or initial Values to a Text Form Input. &lt;BR /&gt;
I know I could use a checkbox or a multiselect input, but in my Case that won't help because there are to many Values. (Then the input box will take Place over my whole Screen)&lt;/P&gt;

&lt;P&gt;For Example I want this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;label&amp;gt;Enter a Service&amp;lt;/label&amp;gt;
  &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
  &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
  &amp;lt;valuePrefix&amp;gt;service="&amp;lt;/valuePrefix&amp;gt;
  &amp;lt;valueSuffix&amp;gt;"&amp;lt;/valueSuffix&amp;gt;
  &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
  &amp;lt;choice value="HTTP"&amp;gt;"HTTP"&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="FTP"&amp;gt;"FTP"&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="SMTP"&amp;gt;"SMTP"&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="SMB"&amp;gt;"SMB"&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="udp_445"&amp;gt;"UDP_445"&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="tcp_445"&amp;gt;"TCP_445"&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="tcp_8080"&amp;gt;"TCP_8080"&amp;lt;/choice&amp;gt;
  &amp;lt;initialValue&amp;gt;HTTP,FTP,SMTP,SMB,udp_445,tcp_445,tcp_8080&amp;lt;/initialValue&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Like in this Example (last Line) I want to parse multiple (But not all) Values to an Input but instead of using a Checkbox or a Multiselect input I want to have it as a Text Form Input.&lt;/P&gt;

&lt;P&gt;Or can I for example set up a Variable with all the needed Values and use the Variable as the default/initial Value?&lt;/P&gt;

&lt;P&gt;Sorry for my bad English and thanks in advance. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 06:48:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parse-multiple-default-or-initial-Values-to-Text-form-input/m-p/267830#M51364</guid>
      <dc:creator>GGMJhgitR</dc:creator>
      <dc:date>2016-07-21T06:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Parse multiple default or initial Values to Text form input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parse-multiple-default-or-initial-Values-to-Text-form-input/m-p/267831#M51365</link>
      <description>&lt;P&gt;You can specify a comma separated list of values as default/initial value for a text box, like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;input type="text" token="field1"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;one, two, three, four&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do you plan to use this? &lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:07:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parse-multiple-default-or-initial-Values-to-Text-form-input/m-p/267831#M51365</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-21T18:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parse multiple default or initial Values to Text form input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parse-multiple-default-or-initial-Values-to-Text-form-input/m-p/267832#M51366</link>
      <description>&lt;P&gt;Thanks for the quick reply. But this didn't seems to work for me.&lt;/P&gt;

&lt;P&gt;I want to search, in the logs comming from the Firewall, for entries that contain specified PolicyIDs(specified by the default value of the user Input or by the Input that a user types in). Because there are so many IDs i can't use multiselect or a checkbox, because that will fill the whole screen and the user didn't have a real overview, if he has to select between 50 or more checkboxes. &lt;/P&gt;

&lt;P&gt;What i basically want is this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;input type="text" token="policyid"&amp;gt;
      &amp;lt;label&amp;gt;Enter a Policy ID&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;1, 2, 3, 4, ...&amp;lt;/default&amp;gt;
      &amp;lt;/input&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In my search string i've tried both. &lt;/P&gt;

&lt;P&gt;policyid=$policyid$ (For a Text Form input) and $policyid$ (For a Multiselect or Checkbox input).&lt;/P&gt;

&lt;P&gt;But this didn't seems to work.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:18:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parse-multiple-default-or-initial-Values-to-Text-form-input/m-p/267832#M51366</guid>
      <dc:creator>GGMJhgitR</dc:creator>
      <dc:date>2016-07-22T13:18:20Z</dc:date>
    </item>
  </channel>
</rss>

