<?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: Explicit Search/Alert for an Error in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Explicit-Search-Alert-for-an-Error/m-p/511972#M143570</link>
    <description>&lt;P&gt;This should do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo ("ERROR OGG-01296" OR "ERROR OGG-01668")
```Extract error code and file name```
| rex "ERROR OGG-(?&amp;lt;error&amp;gt;\d+)"
| rex ", (?&amp;lt;file&amp;gt;.*\.prm)"
```Combine error code for each file```
| stats count(error) as count by file
```Return only those files with a single error that is 1296```
| where (count=1 AND error=1296)&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 31 Jul 2020 18:47:35 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-31T18:47:35Z</dc:date>
    <item>
      <title>Explicit Search/Alert for an Error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Explicit-Search-Alert-for-an-Error/m-p/511965#M143565</link>
      <description>&lt;P&gt;I am looking at setting up Search/Alert if i see an only "ERROR OGG-01296", however don't want to receive any alert when i have both errors "ERROR OGG-01296" and "ERROR OGG-01668" for the file&amp;nbsp;&amp;nbsp;xxxxx.prm. How can exclusively ignore this patterns. Pls advise&lt;/P&gt;&lt;P&gt;2020-07-31T08:19:46.925-0700 ERROR OGG-01668 Oracle GoldenGate Delivery, xxxxx.prm: PROCESS ABENDING.&lt;/P&gt;&lt;P&gt;2020-07-31T08:19:46.924-0700 ERROR OGG-01296 Oracle GoldenGate Delivery, xxxxx.prm: Error mapping from LZ.ABCD to LZ.ABCD.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 18:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Explicit-Search-Alert-for-an-Error/m-p/511965#M143565</guid>
      <dc:creator>kvallala</dc:creator>
      <dc:date>2020-07-31T18:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Explicit Search/Alert for an Error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Explicit-Search-Alert-for-an-Error/m-p/511972#M143570</link>
      <description>&lt;P&gt;This should do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo ("ERROR OGG-01296" OR "ERROR OGG-01668")
```Extract error code and file name```
| rex "ERROR OGG-(?&amp;lt;error&amp;gt;\d+)"
| rex ", (?&amp;lt;file&amp;gt;.*\.prm)"
```Combine error code for each file```
| stats count(error) as count by file
```Return only those files with a single error that is 1296```
| where (count=1 AND error=1296)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 31 Jul 2020 18:47:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Explicit-Search-Alert-for-an-Error/m-p/511972#M143570</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-31T18:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Explicit Search/Alert for an Error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Explicit-Search-Alert-for-an-Error/m-p/511988#M143580</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, i definitely helping to my thought process.&lt;/P&gt;&lt;P&gt;I am still trying for what am looking for. Probably my question was not completely correct.&lt;/P&gt;&lt;P&gt;i might have more than one occurrence of this error.&lt;/P&gt;&lt;PRE&gt;ERROR OGG-01296&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;However I should only report when i don't see Error 01668, and i see at least one occurrence of&amp;nbsp; OGG-01296 for that file xxxx.prm (for each file)&lt;/P&gt;&lt;PRE&gt;RROR OGG-01668&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 22:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Explicit-Search-Alert-for-an-Error/m-p/511988#M143580</guid>
      <dc:creator>kvallala</dc:creator>
      <dc:date>2020-07-31T22:03:39Z</dc:date>
    </item>
  </channel>
</rss>

