<?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 how to search a list with *Exceptions in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74409#M181197</link>
    <description>&lt;P&gt;I want to search from a list of the following *Exceptions from log files. I don't have a field defined nor know how to define it. I want get a table report with number of occurrences for each type of exceptions.  I think I may be able to do it with inputlookup but not sure how to get started.... please help&lt;/P&gt;

&lt;P&gt;com.sun.jersey.api.client.ClientHandlerException&lt;/P&gt;

&lt;P&gt;org.eclipse.persistence.exceptions.OptimisticLockException&lt;/P&gt;

&lt;P&gt;Locks.checkThreadStopException&lt;/P&gt;

&lt;P&gt;com.sun.xml.ws.client.ClientTransportException&lt;/P&gt;

&lt;P&gt;java.io.IOException&lt;/P&gt;

&lt;P&gt;java.lang.Exception&lt;/P&gt;

&lt;P&gt;java.lang.IllegalAccessException&lt;/P&gt;

&lt;P&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt;
java.lang.RuntimeException&lt;BR /&gt;
java.net.ConnectException,&lt;BR /&gt;
java.net.SocketException&lt;BR /&gt;
java.rmi.NoSuchObjectException&lt;/P&gt;

&lt;P&gt;java.util.MissingResourceException&lt;/P&gt;

&lt;P&gt;javax.ejb.NoSuchEJBException&lt;/P&gt;

&lt;P&gt;javax.faces.application.ViewExpiredException&lt;BR /&gt;
javax.faces.FacesException&lt;/P&gt;

&lt;P&gt;javax.mail.MessagingException&lt;BR /&gt;
...&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2013 06:13:39 GMT</pubDate>
    <dc:creator>vincenty</dc:creator>
    <dc:date>2013-03-26T06:13:39Z</dc:date>
    <item>
      <title>how to search a list with *Exceptions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74409#M181197</link>
      <description>&lt;P&gt;I want to search from a list of the following *Exceptions from log files. I don't have a field defined nor know how to define it. I want get a table report with number of occurrences for each type of exceptions.  I think I may be able to do it with inputlookup but not sure how to get started.... please help&lt;/P&gt;

&lt;P&gt;com.sun.jersey.api.client.ClientHandlerException&lt;/P&gt;

&lt;P&gt;org.eclipse.persistence.exceptions.OptimisticLockException&lt;/P&gt;

&lt;P&gt;Locks.checkThreadStopException&lt;/P&gt;

&lt;P&gt;com.sun.xml.ws.client.ClientTransportException&lt;/P&gt;

&lt;P&gt;java.io.IOException&lt;/P&gt;

&lt;P&gt;java.lang.Exception&lt;/P&gt;

&lt;P&gt;java.lang.IllegalAccessException&lt;/P&gt;

&lt;P&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt;
java.lang.RuntimeException&lt;BR /&gt;
java.net.ConnectException,&lt;BR /&gt;
java.net.SocketException&lt;BR /&gt;
java.rmi.NoSuchObjectException&lt;/P&gt;

&lt;P&gt;java.util.MissingResourceException&lt;/P&gt;

&lt;P&gt;javax.ejb.NoSuchEJBException&lt;/P&gt;

&lt;P&gt;javax.faces.application.ViewExpiredException&lt;BR /&gt;
javax.faces.FacesException&lt;/P&gt;

&lt;P&gt;javax.mail.MessagingException&lt;BR /&gt;
...&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2013 06:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74409#M181197</guid>
      <dc:creator>vincenty</dc:creator>
      <dc:date>2013-03-26T06:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to search a list with *Exceptions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74410#M181198</link>
      <description>&lt;P&gt;Try this for a starter&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Exception | rex ".*?(?&amp;lt;exception&amp;gt;(?:\w+\.)+\w*?Exception).*"
          | stats count by exception
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Mar 2013 07:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74410#M181198</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-03-26T07:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to search a list with *Exceptions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74411#M181199</link>
      <description>&lt;P&gt;ok thx. Can use the patterns as you've provided to search with the following.  Is there a easier way to do this especially if I add another level?&lt;/P&gt;

&lt;P&gt;Exception | rex "(?:^|\s)(?&lt;EXCEPTION&gt;\w+.\w+.\w+.\w+Exception)(?:\s|$)" | search Exception | rex "(?:^|\s)(?&lt;EXCEPTION&gt;\w+.\w+.\w+Exception)(?:\s|$)" |stats count by exception&lt;/EXCEPTION&gt;&lt;/EXCEPTION&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2013 17:34:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74411#M181199</guid>
      <dc:creator>vincenty</dc:creator>
      <dc:date>2013-03-26T17:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to search a list with *Exceptions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74412#M181200</link>
      <description>&lt;P&gt;Thank you.  this worked for me.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-a-list-with-Exceptions/m-p/74412#M181200</guid>
      <dc:creator>acveer</dc:creator>
      <dc:date>2016-07-19T18:54:50Z</dc:date>
    </item>
  </channel>
</rss>

