<?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: v4.1.4 REGEX works.....v4.3.2 Doesn't in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/v4-1-4-REGEX-works-v4-3-2-Doesn-t/m-p/98649#M25405</link>
    <description>&lt;P&gt;This is working for me with without the log facility and level.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\w+\s\d+\s\d{1,2}:\d{1,2}:\d{1,2}\sMessage\sforwarded\sfrom\s([^:]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you need to include it you could do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\&amp;lt;\d{2}\&amp;gt;\w+\s\d+\s\d{1,2}:\d{1,2}:\d{1,2}\sMessage\sforwarded\sfrom\s([^:]+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 14 Jul 2012 15:55:41 GMT</pubDate>
    <dc:creator>hurricanelabs</dc:creator>
    <dc:date>2012-07-14T15:55:41Z</dc:date>
    <item>
      <title>v4.1.4 REGEX works.....v4.3.2 Doesn't</title>
      <link>https://community.splunk.com/t5/Splunk-Search/v4-1-4-REGEX-works-v4-3-2-Doesn-t/m-p/98648#M25404</link>
      <description>&lt;P&gt;I have a hostname extraction TRANSFORMS.conf that works in v4.1.4, but since our upgrade to v4.3.2 it now doesn't extract the hostname. I have tried numerous changes to the REGEX on the new install but to no avail.&lt;/P&gt;

&lt;P&gt;Example of incoming data:&lt;/P&gt;

&lt;P&gt;&amp;lt;14&amp;gt;Jul 13 13:55:31 Message forwarded from hostname123:&lt;/P&gt;

&lt;P&gt;Transforms.conf that worked:&lt;/P&gt;

&lt;P&gt;[syslog-host-aix]&lt;/P&gt;

&lt;P&gt;DEST_KEY = MetaData:Host&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;REGEX = \w+\s+\d+\s+\d{2}:\d{2}:\d\d\s+Message\sforwarded\sfrom\s([^:]+)&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;FORMAT = host::$1&lt;/P&gt;

&lt;P&gt;I have tried many variations of the REGEX below in the Transforms.conf but none work.&lt;/P&gt;

&lt;P&gt;[syslog-host-aix]&lt;/P&gt;

&lt;P&gt;DEST_KEY = MetaData:Host&lt;/P&gt;

&lt;P&gt;REGEX = .&lt;EM&gt;?Message\sforwarded\sfrom\s(\w&lt;/EM&gt;):.*   &amp;lt; ----  tried capturing entire line to no avail&lt;/P&gt;

&lt;H1&gt;REGEX = \w+\s+\d+\s+\d{2}:\d{2}:\d\d\s+Message\sforwarded\sfrom\s(.*?):&lt;/H1&gt;

&lt;P&gt;FORMAT = host::$1&lt;/P&gt;

&lt;P&gt;Did something change in REGEX's from the older versions to the newer versions of Splunk? Any ideas of REGEX's to try ? I am on version 10 and counting.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2012 19:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/v4-1-4-REGEX-works-v4-3-2-Doesn-t/m-p/98648#M25404</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2012-07-13T19:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: v4.1.4 REGEX works.....v4.3.2 Doesn't</title>
      <link>https://community.splunk.com/t5/Splunk-Search/v4-1-4-REGEX-works-v4-3-2-Doesn-t/m-p/98649#M25405</link>
      <description>&lt;P&gt;This is working for me with without the log facility and level.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\w+\s\d+\s\d{1,2}:\d{1,2}:\d{1,2}\sMessage\sforwarded\sfrom\s([^:]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you need to include it you could do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\&amp;lt;\d{2}\&amp;gt;\w+\s\d+\s\d{1,2}:\d{1,2}:\d{1,2}\sMessage\sforwarded\sfrom\s([^:]+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Jul 2012 15:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/v4-1-4-REGEX-works-v4-3-2-Doesn-t/m-p/98649#M25405</guid>
      <dc:creator>hurricanelabs</dc:creator>
      <dc:date>2012-07-14T15:55:41Z</dc:date>
    </item>
  </channel>
</rss>

