<?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: REX Question in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112481#M29551</link>
    <description>&lt;P&gt;Sure, &lt;/P&gt;

&lt;P&gt;2014-11-14 12:52:59:[ INFO]:- batman.java1 length of 25 error :0:&lt;/P&gt;

&lt;P&gt;For above scrape 45, 25 and 1 from the field result and have it look like this&lt;/P&gt;

&lt;P&gt;"batman.java length of error"&lt;/P&gt;</description>
    <pubDate>Fri, 14 Nov 2014 13:17:26 GMT</pubDate>
    <dc:creator>subtrakt</dc:creator>
    <dc:date>2014-11-14T13:17:26Z</dc:date>
    <item>
      <title>REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112476#M29546</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex "(?i)\].*(?&amp;lt;test1&amp;gt;([^ ]* ){5})"  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to avoid numbers being returned &lt;STRONG&gt;but&lt;/STRONG&gt; i don't want to avoid the results with numbers in them.  &lt;/P&gt;

&lt;P&gt;I'm thinking i need to put this in the regex somewhere but haven't had any luck so far.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\D+ or [^0-9]  
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112476#M29546</guid>
      <dc:creator>subtrakt</dc:creator>
      <dc:date>2014-11-13T22:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112477#M29547</link>
      <description>&lt;P&gt;Can you give an example of the data you're matching against ? &lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:32:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112477#M29547</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2014-11-13T22:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112478#M29548</link>
      <description>&lt;P&gt;Can you provide some example events and what you want to extract from them?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112478#M29548</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2014-11-13T22:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112479#M29549</link>
      <description>&lt;P&gt;The query needs to be a catch all for multiple log types like Cisco juniper and Unix &lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2014 00:39:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112479#M29549</guid>
      <dc:creator>subtrakt</dc:creator>
      <dc:date>2014-11-14T00:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112480#M29550</link>
      <description>&lt;P&gt;Just post a few single events from a few different types, and specify what you're trying to extract. Otherwise this question is pretty much impossible to answer with any confidence.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2014 01:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112480#M29550</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2014-11-14T01:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112481#M29551</link>
      <description>&lt;P&gt;Sure, &lt;/P&gt;

&lt;P&gt;2014-11-14 12:52:59:[ INFO]:- batman.java1 length of 25 error :0:&lt;/P&gt;

&lt;P&gt;For above scrape 45, 25 and 1 from the field result and have it look like this&lt;/P&gt;

&lt;P&gt;"batman.java length of error"&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2014 13:17:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112481#M29551</guid>
      <dc:creator>subtrakt</dc:creator>
      <dc:date>2014-11-14T13:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112482#M29552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;here is a run everywhere example, just copy and paste it in your splunk search bar. Is this what you want?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count | eval line="2014-11-14 12:52:59:[ INFO]:- batman.java1 length of 25 error :0:" | rex field=line max_match=0 "(?&amp;lt;test1&amp;gt;[a-zA-Z]+)" | mvcombine test1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Nov 2014 14:23:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112482#M29552</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-11-14T14:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112483#M29553</link>
      <description>&lt;P&gt;Is the goal here to match terms that have a minimum of one alpha character?&lt;/P&gt;

&lt;P&gt;What about something like &lt;CODE&gt;(\w*[A-Za-z]+\w*)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2014 16:16:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112483#M29553</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2014-11-14T16:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112484#M29554</link>
      <description>&lt;P&gt;Thanks.  What is the mvcombine doing?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2014 23:32:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112484#M29554</guid>
      <dc:creator>subtrakt</dc:creator>
      <dc:date>2014-11-14T23:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: REX Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112485#M29555</link>
      <description>&lt;P&gt;The rex command extracts multiple words from the string and puts them into the field test1. Because there are multiple values, the field then is a so called multi value field. Mvcombine transforms mvfields to normal fields.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Nov 2014 11:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REX-Question/m-p/112485#M29555</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-11-15T11:08:11Z</dc:date>
    </item>
  </channel>
</rss>

