<?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: Regexing multiple values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259546#M189623</link>
    <description>&lt;P&gt;Thanks for the reply! but this didn't work for me. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2016 05:47:52 GMT</pubDate>
    <dc:creator>WestlyB</dc:creator>
    <dc:date>2016-03-23T05:47:52Z</dc:date>
    <item>
      <title>Regexing multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259544#M189621</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;

&lt;P&gt;I've been banging my head on this one. I'm sure it involves 'rex' which I'm not so familiar with.&lt;/P&gt;

&lt;P&gt;I have the following search&lt;BR /&gt;
search  | regex _raw="|MAX TCP Connections||MAX UDP Connections|" |  table _raw&lt;/P&gt;

&lt;P&gt;Of course this spits out the entire _raw event. I'd like search for all events that match event with either MAX TCP Connection or MAX UDP Connection and send those to a field and when I use table, I see either MAX TCP Connections or MAX UDP Connections in the field. No event will have both. I really hope that makes sense. Any help would be great.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 03:34:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259544#M189621</guid>
      <dc:creator>WestlyB</dc:creator>
      <dc:date>2016-03-23T03:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regexing multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259545#M189622</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;"MAX TCP Connections" OR "MAX UDP Connections" | rex "(?&amp;lt;value&amp;gt;(MAX TCP Connections|MAX UDP Connections)" | stats count by value
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Mar 2016 04:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259545#M189622</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2016-03-23T04:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regexing multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259546#M189623</link>
      <description>&lt;P&gt;Thanks for the reply! but this didn't work for me. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 05:47:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259546#M189623</guid>
      <dc:creator>WestlyB</dc:creator>
      <dc:date>2016-03-23T05:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regexing multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259547#M189624</link>
      <description>&lt;P&gt;The match is case sensitive so edit as needed to exact match the string you are looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 07:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259547#M189624</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2016-03-23T07:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regexing multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259548#M189625</link>
      <description>&lt;P&gt;Maybe add a &lt;CODE&gt;max_match=0&lt;/CODE&gt; to the regex or to make it case insensitive add &lt;CODE&gt;(?i)&lt;/CODE&gt; to the regex like this &lt;CODE&gt;rex "(?&amp;lt;value&amp;gt;(?i)(MAX TCP Connections|MAX UDP Connections)"&lt;/CODE&gt; and remember - this is un-tested since I have no Splunk instance handy right now &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 07:15:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259548#M189625</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-03-23T07:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regexing multiple values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259549#M189626</link>
      <description>&lt;P&gt;Please provide some sample data and expected final output.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:13:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regexing-multiple-values/m-p/259549#M189626</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-03-23T14:13:59Z</dc:date>
    </item>
  </channel>
</rss>

