<?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: What is the correct syntax of applying NOT operator in transforms.conf? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-syntax-of-applying-NOT-operator-in/m-p/471005#M132500</link>
    <description>&lt;P&gt;Can you post sample log events?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 04:29:58 GMT</pubDate>
    <dc:creator>jawaharas</dc:creator>
    <dc:date>2019-09-04T04:29:58Z</dc:date>
    <item>
      <title>What is the correct syntax of applying NOT operator in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-syntax-of-applying-NOT-operator-in/m-p/471004#M132499</link>
      <description>&lt;P&gt;The following is the regex I am working on and what I'm trying to do is exclude any username events that ends with "ZLX" but I doubt that If I am following the right syntax. especially I am not sure if I can use "!" for excluding. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX = (logtype::A.*(id::(123|456)|(id::789.*username!::[a-zA-Z]{2,3}-+.*?-ZLX))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Sep 2019 21:52:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-syntax-of-applying-NOT-operator-in/m-p/471004#M132499</guid>
      <dc:creator>pavanae</dc:creator>
      <dc:date>2019-09-03T21:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct syntax of applying NOT operator in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-syntax-of-applying-NOT-operator-in/m-p/471005#M132500</link>
      <description>&lt;P&gt;Can you post sample log events?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 04:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-syntax-of-applying-NOT-operator-in/m-p/471005#M132500</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2019-09-04T04:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct syntax of applying NOT operator in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-syntax-of-applying-NOT-operator-in/m-p/471006#M132501</link>
      <description>&lt;P&gt;"(?(&amp;lt;)! sub expression)" regex for negative look behind (remove the bracket before and after less then sign)&lt;/P&gt;

&lt;P&gt;"(?! sub expression)" regex for negative look ahead &lt;/P&gt;

&lt;P&gt;this might help you to update your regex accordingly&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 13:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-syntax-of-applying-NOT-operator-in/m-p/471006#M132501</guid>
      <dc:creator>rahulbhatia</dc:creator>
      <dc:date>2019-09-04T13:13:10Z</dc:date>
    </item>
  </channel>
</rss>

