<?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: Exceptions that never happened before in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635252#M9434</link>
    <description>&lt;P class="lia-indent-padding-left-30px"&gt;I have message you.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 08:20:01 GMT</pubDate>
    <dc:creator>See0</dc:creator>
    <dc:date>2023-03-21T08:20:01Z</dc:date>
    <item>
      <title>How to get a report/alert when a new exception happens that never happened before?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634785#M9400</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;I will try to describe my problem as good as i can. I want to get some raport/alert when a new exception appears but that never happened before.&lt;/P&gt;
&lt;P&gt;let say that i have 15 exceptions that happened before like: java.lang.NullPointer, java.lang.IllegalStateException.. etc.&lt;/P&gt;
&lt;P&gt;i want to get an alert when a “new” exception appear that never appeared before.&lt;/P&gt;
&lt;P&gt;Is that possible?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 16:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634785#M9400</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-03-17T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634859#M9401</link>
      <description>&lt;P&gt;Yes, you can. You will need to keep a record of exceptions that you have seen before in a lookup file, so that when you run a search you can then lookup against that file.&lt;/P&gt;&lt;P&gt;Here is some very pseudo SPL that can be used, but you will need to tailor it to your data and use case.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=my_index *Exception*
``` Work out what is your exception here using some eval statemsnt or field extractions ```
| eval ExceptionName=...
| lookup my_previous_exceptions.csv ExceptionName OUTPUT ExceptionName as FoundExceptionName
| where isnull(FoundExceptionName)
``` Now you have events that contain new exceptions, ```

``` you can finally merge the new and existing exceptions that new Exception to your lookup ```
| fields ExceptionName _time
| outputlookup append=t my_previous_exceptions.csv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 01:30:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634859#M9401</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-17T01:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634873#M9403</link>
      <description>&lt;P&gt;Could you explain me how do i do the backup file?&lt;/P&gt;&lt;P&gt;Like an example..&lt;/P&gt;&lt;P&gt;im pretty new.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 07:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634873#M9403</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-03-17T07:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634915#M9412</link>
      <description>&lt;P&gt;And i dont really understand the &amp;nbsp;eval ExceptionName=…&lt;/P&gt;&lt;P&gt;what should i put here?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 14:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634915#M9412</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-03-17T14:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634998#M9419</link>
      <description>&lt;P&gt;So, depending on your data, you will have an event containing some information containing the text of the Exception, whether it's a full stack trace or just the exception name, but let's assume that your Splunk event contains&lt;/P&gt;&lt;P&gt;bla bla bla &lt;STRONG&gt;java.lang.NullPointerException&amp;nbsp;&lt;/STRONG&gt;bla bla bla&lt;/P&gt;&lt;P&gt;then unless you have a field in the data that has the name of the exception you need to create a field, either through an eval statement or a rex field extraction&lt;/P&gt;&lt;P&gt;If you don't have a field in the data, then you would use a rex statement, e.g. one of these would extract either the simple name or the full class name&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(\w+\.)+(?&amp;lt;ExceptionName1&amp;gt;.*Exception) "
| rex "(?&amp;lt;ExceptionName2&amp;gt;(\w+\.)+\w+Exception) "&lt;/LI-CODE&gt;&lt;P&gt;an eval statement could be used to manipulate an existing field.&lt;/P&gt;&lt;P&gt;All of this will depend on what your data looks like though.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 05:17:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/634998#M9419</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-18T05:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635011#M9420</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you a lot for your time, could tou show me how the las version of the search should look like with the “rex”&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 08:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635011#M9420</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-03-18T08:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635212#M9428</link>
      <description>&lt;P&gt;You will have to show what you are currently doing, where your data exists and the results you are getting to get further help. I can't provide direct searches without knowing your environment.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 22:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635212#M9428</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-20T22:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635213#M9429</link>
      <description>&lt;P&gt;I don't know what you mean by a backup file in Splunk context&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 22:42:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635213#M9429</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-20T22:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635252#M9434</link>
      <description>&lt;P class="lia-indent-padding-left-30px"&gt;I have message you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 08:20:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/635252#M9434</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-03-21T08:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/636264#M9437</link>
      <description>&lt;P&gt;I have write you in private.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 08:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/636264#M9437</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-03-28T08:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/636423#M9439</link>
      <description>&lt;P&gt;Please post the examples here, so any solutions can help others. I do not give answers through private messages.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 22:34:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/636423#M9439</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-28T22:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/639509#M9540</link>
      <description>&lt;P&gt;Those are my type of exceptions.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 13:32:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/639509#M9540</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-04-11T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641188#M9564</link>
      <description>&lt;P&gt;Could you help me?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 20:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641188#M9564</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-04-24T20:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641849#M9572</link>
      <description>&lt;P&gt;What exactly are you stuck with?&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 23:51:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641849#M9572</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-04-30T23:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641859#M9573</link>
      <description>&lt;P&gt;Hello, even if i make the search wiht the data that i have is showing me all the exception, is not excluding the exception from the .csv.&lt;/P&gt;&lt;P&gt;How exactly should i make the search to get only the exception that are not in the file?&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 07:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641859#M9573</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-05-01T07:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641931#M9574</link>
      <description>&lt;P&gt;Please post your current search and an example of the contents of the csv&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 23:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641931#M9574</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-05-01T23:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641959#M9575</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently im trying to search against this file :&lt;/P&gt;&lt;P&gt;index="doc" Exception error NOT [ | inputlookup KnownException.csv]&lt;/P&gt;&lt;P&gt;My csv file looks like this(140 exceptions):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="See0_0-1683009935552.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25174iF070C580E95F032D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="See0_0-1683009935552.png" alt="See0_0-1683009935552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My env looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="See0_1-1683009721541.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25173iDD2CF7D98D1DB1B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="See0_1-1683009721541.jpeg" alt="See0_1-1683009721541.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i run this query i want to extract only the exceptions that are not in the file. Somehow this is not happening and is showing me even the exceptions that are present in the file.&lt;/P&gt;&lt;P&gt;I want to full exclude all the exceptions from the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 06:45:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/641959#M9575</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-05-02T06:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/642082#M9578</link>
      <description>&lt;P&gt;What is the column name of the field in your exception CSV?&lt;/P&gt;&lt;P&gt;Your subsearch will translate to&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;( ( Field = A) OR (Field = B) OR (Field = C) )&lt;/LI-CODE&gt;&lt;P&gt;where Field is the name of the column in your CSV and therefore MUST also be a field in your data. If it is not a field in your data, then you will be looking for event that do NOT contain those Fields, which will be everything.&lt;/P&gt;&lt;P&gt;You can also add this to your subsearch&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| return 200 $Field&lt;/LI-CODE&gt;&lt;P&gt;Where 'Field' is the name of your column in the CSV and it will return just the text of the exception in the csv.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 00:51:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/642082#M9578</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-05-03T00:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/642095#M9579</link>
      <description>&lt;P&gt;Hello, the column is called "exception" and i don't have that column extracted as a field?&lt;/P&gt;&lt;P&gt;What you recommend?&lt;/P&gt;&lt;P&gt;And also how should look the final search ?&lt;/P&gt;&lt;P&gt;Thank you so much for the time and help.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 06:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/642095#M9579</guid>
      <dc:creator>See0</dc:creator>
      <dc:date>2023-05-03T06:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions that never happened before</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/642234#M9580</link>
      <description>&lt;P&gt;Have you tried my second suggestion?&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 06:49:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-get-a-report-alert-when-a-new-exception-happens-that/m-p/642234#M9580</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-05-04T06:49:42Z</dc:date>
    </item>
  </channel>
</rss>

