<?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: Multiple matchs (AND) in transform.conf REGEX in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34987#M7683</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:27:25 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2014-10-14T17:27:25Z</dc:date>
    <item>
      <title>Multiple matchs (AND) in transform.conf REGEX</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34984#M7680</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to filter some events based on the occurence of multiple matchs, for instance, I want to match all (Windows) events that match (EventCode=566) AND simultanously match also (keyword=success)&lt;/P&gt;

&lt;P&gt;Of course, I still need to do more matchs on the REGEX (Theses are working fine using the | operator), but the issue is really with doing an AND.&lt;BR /&gt;
Any advice ?&lt;/P&gt;

&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 16:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34984#M7680</guid>
      <dc:creator>arabii</dc:creator>
      <dc:date>2011-12-14T16:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple matchs (AND) in transform.conf REGEX</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34985#M7681</link>
      <description>&lt;P&gt;For filtering the events I assume you are using the method listed in this &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Routeandfilterdatad"&gt;doc&lt;/A&gt;. And matching you events in this way.&lt;/P&gt;

&lt;P&gt;I am a bit confused what you mean in your second point... more info please.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 16:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34985#M7681</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2011-12-14T16:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple matchs (AND) in transform.conf REGEX</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34986#M7682</link>
      <description>&lt;P&gt;I'm using the method described in the link to discard specific items and keep the remaining logs.&lt;/P&gt;

&lt;P&gt;Below is REGEX l'm actually using:&lt;BR /&gt;
REGEX= (?msi)^EventCode=(566|578|836|837|4662|4674|5156|4769)&lt;/P&gt;

&lt;P&gt;I want to add somme supplementary checks for specific  eventcodes like searching for another string (the search should be done only when specific eventcodes are matched)&lt;/P&gt;

&lt;P&gt;I was planning to use REGEX like the one below but i doesn't match at all:&lt;BR /&gt;
REGEX= (?msi)(^EventCode=(566|578|836|837|4662|4674|5156|4769))|(^EventCode=4776.Keywords=(Success))&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2011 16:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34986#M7682</guid>
      <dc:creator>arabii</dc:creator>
      <dc:date>2011-12-14T16:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple matchs (AND) in transform.conf REGEX</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34987#M7683</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:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-matchs-AND-in-transform-conf-REGEX/m-p/34987#M7683</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2014-10-14T17:27:25Z</dc:date>
    </item>
  </channel>
</rss>

