<?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: How to create regular expressions for these Exceptions? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277593#M83712</link>
    <description>&lt;P&gt;try like this:&lt;/P&gt;

&lt;P&gt;|stats c | eval _raw ="javax.ejb.NoSuchEJBException"|append[|stats c | eval _raw ="java.lang.Exception"] |append[|stats c | eval _raw ="javax.faces.application.ViewExpiredException"]| rex "(?^(java)x?.[.\w]+)"|stats c by exp&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2017 07:54:41 GMT</pubDate>
    <dc:creator>mpreddy</dc:creator>
    <dc:date>2017-02-06T07:54:41Z</dc:date>
    <item>
      <title>How to create regular expressions for these Exceptions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277588#M83707</link>
      <description>&lt;P&gt;I want to know how can i create regular expressions for the following exceptions...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;java.io.IOException

java.lang.Exception

java.lang.IllegalAccessException

java.lang.reflect.InvocationTargetException
java.lang.RuntimeException
java.net.ConnectException,
java.net.SocketException
java.rmi.NoSuchObjectException

java.util.MissingResourceException

javax.ejb.NoSuchEJBException

javax.faces.application.ViewExpiredException
javax.faces.FacesException
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Feb 2017 16:43:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277588#M83707</guid>
      <dc:creator>jw44250</dc:creator>
      <dc:date>2017-02-05T16:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create regular expressions for these Exceptions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277589#M83708</link>
      <description>&lt;P&gt;Here's one regex string.  There may be others.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;javax?\.[\.\w]+Exception
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Feb 2017 20:36:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277589#M83708</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-02-05T20:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create regular expressions for these Exceptions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277590#M83709</link>
      <description>&lt;P&gt;Not working @richgalloway.. im new to splunk&lt;/P&gt;

&lt;P&gt;index=index* | rex field="javax?.[.\w]+Exception" |stats count&lt;BR /&gt;
Result&lt;BR /&gt;
Error in 'SearchOperator:rex': Usage: regex [field=] &lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2017 21:14:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277590#M83709</guid>
      <dc:creator>jw44250</dc:creator>
      <dc:date>2017-02-05T21:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create regular expressions for these Exceptions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277591#M83710</link>
      <description>&lt;P&gt;The syntax is incorrect and you need a capturing group.  Try &lt;CODE&gt;index=index* | rex "(?&amp;lt;Exception&amp;gt;javax?.[.\w]+Exception)" |stats count&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2017 22:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277591#M83710</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-02-05T22:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create regular expressions for these Exceptions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277592#M83711</link>
      <description>&lt;P&gt;something like i think&lt;/P&gt;

&lt;P&gt;rex field=_raw "port (?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2017 22:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277592#M83711</guid>
      <dc:creator>jw44250</dc:creator>
      <dc:date>2017-02-05T22:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create regular expressions for these Exceptions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277593#M83712</link>
      <description>&lt;P&gt;try like this:&lt;/P&gt;

&lt;P&gt;|stats c | eval _raw ="javax.ejb.NoSuchEJBException"|append[|stats c | eval _raw ="java.lang.Exception"] |append[|stats c | eval _raw ="javax.faces.application.ViewExpiredException"]| rex "(?^(java)x?.[.\w]+)"|stats c by exp&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 07:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277593#M83712</guid>
      <dc:creator>mpreddy</dc:creator>
      <dc:date>2017-02-06T07:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create regular expressions for these Exceptions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277594#M83713</link>
      <description>&lt;P&gt;This works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rex field=_raw "\s(?&amp;lt;a_exceptiontype&amp;gt;(java|javax)\.\w+\.\w+Exception)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Tested.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 09:11:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-regular-expressions-for-these-Exceptions/m-p/277594#M83713</guid>
      <dc:creator>mirkoneverstops</dc:creator>
      <dc:date>2017-02-06T09:11:11Z</dc:date>
    </item>
  </channel>
</rss>

