<?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: Have Multiple REGEX in Transforms in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55328#M13509</link>
    <description>&lt;P&gt;OK, thanks heaps for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2011 08:01:33 GMT</pubDate>
    <dc:creator>Scarecrowddb</dc:creator>
    <dc:date>2011-03-09T08:01:33Z</dc:date>
    <item>
      <title>Have Multiple REGEX in Transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55326#M13507</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I was wondering how you go about sending different criteria to the null que and whether the below would work?&lt;/P&gt;

&lt;P&gt;----tranforms.conf----&lt;/P&gt;

&lt;P&gt;[WindowsLogonEvent675]&lt;BR /&gt;
REGEX = (?msi)EventCode=4624.&lt;EM&gt;Account Name:\s&lt;/EM&gt;(-)&lt;BR /&gt;
REGEX = (?msi)^EventCode=(632|4719|4728|4729|4670)&lt;BR /&gt;
DEST_KEY = _TCP_ROUTING&lt;BR /&gt;
FORMAT = forwardauqldrv00mgt1ai  &lt;/P&gt;

&lt;P&gt;Or should the be done like below (with the same [xxxxx]?&lt;/P&gt;

&lt;P&gt;----tranforms.conf----&lt;/P&gt;

&lt;P&gt;[WindowsLogonEvent675]&lt;BR /&gt;
REGEX = (?msi)EventCode=4624.&lt;EM&gt;Account Name:\s&lt;/EM&gt;(-)&lt;BR /&gt;
DEST_KEY = _TCP_ROUTING&lt;BR /&gt;
FORMAT = forwardauqldrv00mgt1ai  &lt;/P&gt;

&lt;P&gt;----tranforms.conf----&lt;/P&gt;

&lt;P&gt;[WindowsLogonEvent675]&lt;BR /&gt;
REGEX = (?msi)^EventCode=(632|4719|4728|4729|4670)&lt;BR /&gt;
DEST_KEY = _TCP_ROUTING&lt;BR /&gt;
FORMAT = forwardauqldrv00mgt1ai  &lt;/P&gt;

&lt;P&gt;Sorry for the vague question.... but I hope someone understands what I mean...&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2011 05:53:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55326#M13507</guid>
      <dc:creator>Scarecrowddb</dc:creator>
      <dc:date>2011-03-08T05:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Have Multiple REGEX in Transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55327#M13508</link>
      <description>&lt;P&gt;You cannot have multiple REGEX parameters in transforms.conf for the same stanza.  You almost have it correct with breaking this into 2 transforms, but they need to have unique names.  So here's how you would split into 2 and call them from props.conf&lt;/P&gt;

&lt;P&gt;-----props.conf-----&lt;/P&gt;

&lt;P&gt;[mysourcetype]&lt;BR /&gt;
TRANSFORMS-foo = WindowsLogonEvent675_Part1, WindowsLogonEvent675_Part2&lt;/P&gt;

&lt;P&gt;-----transforms.conf-----&lt;/P&gt;

&lt;P&gt;WindowsLogonEvent675_Part1]&lt;BR /&gt;
REGEX = (?msi)EventCode=4624.Account Name:\s(-)&lt;BR /&gt;
DEST_KEY = _TCP_ROUTING&lt;BR /&gt;
FORMAT = forwardauqldrv00mgt1ai&lt;/P&gt;

&lt;P&gt;[WindowsLogonEvent675_Part2]&lt;BR /&gt;
REGEX = (?msi)^EventCode=(632|4719|4728|4729|4670)&lt;BR /&gt;
DEST_KEY = _TCP_ROUTING&lt;BR /&gt;
FORMAT = forwardauqldrv00mgt1ai&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2011 06:14:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55327#M13508</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2011-03-08T06:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Have Multiple REGEX in Transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55328#M13509</link>
      <description>&lt;P&gt;OK, thanks heaps for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2011 08:01:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55328#M13509</guid>
      <dc:creator>Scarecrowddb</dc:creator>
      <dc:date>2011-03-09T08:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Have Multiple REGEX in Transforms</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55329#M13510</link>
      <description>&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/44245/regex-match-on-multiple-conditions-help.html"&gt;http://answers.splunk.com/answers/44245/regex-match-on-multiple-conditions-help.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 17:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Have-Multiple-REGEX-in-Transforms/m-p/55329#M13510</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2014-10-14T17:28:45Z</dc:date>
    </item>
  </channel>
</rss>

