<?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 Textarea input to feed a search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Textarea-input-to-feed-a-search/m-p/160233#M185950</link>
    <description>&lt;P&gt;I have firewall logs that feed into splunk and I'd like to have a textarea form input where I can paste in a handful of IP addresses (one per line) and have those feed a search like:&lt;BR /&gt;
index=fw |where &amp;lt;any textareaIP == src_ip OR any textareaIP == dest_ip&amp;gt;&lt;/P&gt;

&lt;P&gt;Seems like it would be a join, but I'm not sure how to get the multiple inputs into a search (not if a textarea is possible at all)&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 20:16:59 GMT</pubDate>
    <dc:creator>bgriffis</dc:creator>
    <dc:date>2020-09-28T20:16:59Z</dc:date>
    <item>
      <title>Textarea input to feed a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Textarea-input-to-feed-a-search/m-p/160233#M185950</link>
      <description>&lt;P&gt;I have firewall logs that feed into splunk and I'd like to have a textarea form input where I can paste in a handful of IP addresses (one per line) and have those feed a search like:&lt;BR /&gt;
index=fw |where &amp;lt;any textareaIP == src_ip OR any textareaIP == dest_ip&amp;gt;&lt;/P&gt;

&lt;P&gt;Seems like it would be a join, but I'm not sure how to get the multiple inputs into a search (not if a textarea is possible at all)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:16:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Textarea-input-to-feed-a-search/m-p/160233#M185950</guid>
      <dc:creator>bgriffis</dc:creator>
      <dc:date>2020-09-28T20:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Textarea input to feed a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Textarea-input-to-feed-a-search/m-p/160234#M185951</link>
      <description>&lt;P&gt;Hi bgriffis,&lt;/P&gt;

&lt;P&gt;Take a look at the dashboard example app &lt;A href="https://splunkbase.splunk.com/app/1265/"&gt;https://splunkbase.splunk.com/app/1265/&lt;/A&gt; there you can find multiple &lt;CODE&gt;Form Input Elements&lt;/CODE&gt;. Most likely it will be a &lt;CODE&gt;multi-select input&lt;/CODE&gt; and for sure no need to &lt;CODE&gt;join&lt;/CODE&gt; the search. You can define prefixes and suffixes for you input element, so you are able to build something like &lt;CODE&gt;myinput=foo OR myinput=boo&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope that helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS &lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Textarea-input-to-feed-a-search/m-p/160234#M185951</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-06-17T21:06:40Z</dc:date>
    </item>
  </channel>
</rss>

