<?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: Splunk rex field in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555179#M6086</link>
    <description>&lt;P&gt;You use an eval command with&amp;nbsp;substr function to get a part of that message.&lt;BR /&gt;&lt;BR /&gt;Example: To get first 10 letters&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;| eval Message=substr(Message, 1, 10)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I hope I understood what you are looking for.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 20:15:13 GMT</pubDate>
    <dc:creator>rupkumar4sec</dc:creator>
    <dc:date>2021-06-09T20:15:13Z</dc:date>
    <item>
      <title>Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554768#M6044</link>
      <description>&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;How do i extract this message in splunk rex field to display error code and message in reports like ABC_Code and Message?&lt;BR /&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;exception&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;java.util.concurrent.ExecutionException&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;&lt;SPAN class="t a"&gt;ABC_1000&lt;/SPAN&gt;:We&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class="t"&gt;re&lt;/SPAN&gt; &lt;SPAN class="t"&gt;sorry&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;it&lt;/SPAN&gt; &lt;SPAN class="t"&gt;looks&lt;/SPAN&gt; &lt;SPAN class="t"&gt;like&lt;/SPAN&gt; &lt;SPAN class="t"&gt;an&lt;/SPAN&gt; &lt;SPAN class="t"&gt;error&lt;/SPAN&gt; &lt;SPAN class="t"&gt;occurred&lt;/SPAN&gt; &lt;SPAN class="t"&gt;while getting information"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554768#M6044</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-07T20:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554771#M6045</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval parts=split(field,":")
| eval message=mvindex(parts,2)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554771#M6045</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-07T20:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554773#M6046</link>
      <description>&lt;P&gt;this doesnt work, could you please give another solutions?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:49:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554773#M6046</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-07T20:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554776#M6047</link>
      <description>&lt;P&gt;Sorry that should have been&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval parts=split(field,":")
| eval message=mvindex(parts,3)&lt;/LI-CODE&gt;&lt;P&gt;If this doesn't work, can you provide more complete example event (anonymised) and details of what fields you already have extracted to help us find a better solution&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:56:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554776#M6047</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-07T20:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554780#M6048</link>
      <description>&lt;P&gt;index=abc&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;exception&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;java.util.concurrent.ExecutionException"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;searching above displays like these in below events&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;SPAN class="t"&gt;exception&lt;/SPAN&gt;"&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;"&lt;SPAN class="t"&gt;java.util.concurrent.ExecutionException&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;&lt;SPAN class="t a"&gt;ABC_1000&lt;/SPAN&gt;:We&lt;/SPAN&gt;'&lt;SPAN class="t"&gt;re&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;sorry&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class="t"&gt;it&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;looks&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;like&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;an&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;error&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;occurred&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;while getting information"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="t"&gt;"exception":"java.util.concurrent.ExecutionException:&amp;nbsp;&lt;SPAN class="t a"&gt;ABC-2000&lt;/SPAN&gt;:We're&amp;nbsp;sorry,&amp;nbsp;it&amp;nbsp;looks&amp;nbsp;like&amp;nbsp;an&amp;nbsp;error&amp;nbsp;occurred&amp;nbsp;while getting information"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;I want to take the ABC_ OR ABC- error codes and have a report based on that which should look like this&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="26px"&gt;&lt;SPAN class="t"&gt;ABC Codes&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="26px"&gt;message&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="26px"&gt;counts&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="47px"&gt;ABC_1000&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="47px"&gt;&lt;SPAN&gt;&lt;SPAN class="t"&gt;We&lt;/SPAN&gt;'&lt;SPAN class="t"&gt;re&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;sorry&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class="t"&gt;it&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;looks&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;like&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;an&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;error&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;occurred&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;while getting information&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="47px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;ABC-2000&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;SPAN&gt;&lt;SPAN class="t"&gt;We're&amp;nbsp;sorry,&amp;nbsp;it&amp;nbsp;looks&amp;nbsp;like&amp;nbsp;an&amp;nbsp;error&amp;nbsp;occurred&amp;nbsp;while getting information&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 21:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554780#M6048</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-07T21:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554781#M6049</link>
      <description>&lt;P&gt;Is this part of a JSON event - can you extract "exception" and work with that field?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 21:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554781#M6049</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-07T21:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554783#M6050</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex field=fieldX "(?&amp;lt;ABCcode&amp;gt;ABC(_|-)\d+):(?&amp;lt;message&amp;gt;.*?)"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 07 Jun 2021 21:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554783#M6050</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-07T21:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554920#M6055</link>
      <description>&lt;P&gt;didnt work with this rex query&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 14:18:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/554920#M6055</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-08T14:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555129#M6072</link>
      <description>&lt;P&gt;Perhaps this will work?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=fieldX "(?&amp;lt;ABCcode&amp;gt;ABC(_|\-)\d+):(?&amp;lt;message&amp;gt;.*?)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Jun 2021 16:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555129#M6072</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-09T16:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555130#M6073</link>
      <description>this is same as the above didnt work</description>
      <pubDate>Wed, 09 Jun 2021 16:25:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555130#M6073</guid>
      <dc:creator>mikeyty07</dc:creator>
      <dc:date>2021-06-09T16:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555132#M6074</link>
      <description>&lt;P&gt;Rather than me guessing what your events actually look like and what your current search looks like with respect to fields already extracted, perhaps you can provide some more detail?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 16:30:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555132#M6074</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-09T16:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555138#M6075</link>
      <description>&lt;P&gt;&lt;SPAN class="t"&gt;2021-06-09&lt;/SPAN&gt; &lt;SPAN class="t"&gt;15:00:37.640&lt;/SPAN&gt; &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;ThreadCompletableFuture&lt;/SPAN&gt; &lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; {"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;logType&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;STANDARD&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;message&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Exception&lt;/SPAN&gt; &lt;SPAN class="t"&gt;occurred&lt;/SPAN&gt; &lt;SPAN class="t"&gt;executing&lt;/SPAN&gt; &lt;SPAN class="t"&gt;task&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;context&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;{"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;configLabel&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;abc-session-4.0-372&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;threadContextId&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t h"&gt;&lt;SPAN class="t"&gt;2e63fe-83f&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"},"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;exception&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;java.util.concurrent.ExecutionException:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;CommonApplicationException:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;&lt;SPAN class="t a"&gt;ABC_2004&lt;/SPAN&gt;:We&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class="t"&gt;re&lt;/SPAN&gt; &lt;SPAN class="t"&gt;sorry&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class="t"&gt;it&lt;/SPAN&gt; &lt;SPAN class="t"&gt;looks&lt;/SPAN&gt; &lt;SPAN class="t"&gt;like&lt;/SPAN&gt; &lt;SPAN class="t"&gt;an&lt;/SPAN&gt; &lt;SPAN class="t"&gt;error&lt;/SPAN&gt; &lt;SPAN class="t"&gt;occurred&lt;/SPAN&gt; &lt;SPAN class="t"&gt;while&lt;/SPAN&gt; &lt;SPAN class="t"&gt;retrieving&lt;/SPAN&gt; &lt;SPAN class="t"&gt;information&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;&lt;BR /&gt;2021-06-09 15:00:37.640 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ThreadCompletableFuture :&lt;SPAN&gt; {"&lt;/SPAN&gt;logType&lt;SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN&gt;"&lt;/SPAN&gt;STANDARD&lt;SPAN&gt;","&lt;/SPAN&gt;message&lt;SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN&gt;"&lt;/SPAN&gt;Exception occurred executing task&lt;SPAN&gt;","&lt;/SPAN&gt;context&lt;SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN&gt;{"&lt;/SPAN&gt;configLabel&lt;SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN&gt;"&lt;/SPAN&gt;abc-session-4.0-372&lt;SPAN&gt;","&lt;/SPAN&gt;threadContextId&lt;SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t h"&gt;2e63fe-83f&lt;/SPAN&gt;&lt;SPAN&gt;"},"&lt;/SPAN&gt;exception&lt;SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN&gt;"&lt;/SPAN&gt;java.util.concurrent.ExecutionException: CommonApplicationException: &lt;SPAN class="t a"&gt;ABC-2014&lt;/SPAN&gt;:We&lt;SPAN&gt;'&lt;/SPAN&gt;re sorry&lt;SPAN&gt;, &lt;/SPAN&gt;it looks like an error occurred while retrieving information&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;it looks sth like this and i want the abc code and message&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 16:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555138#M6075</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-09T16:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555139#M6076</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;errorCode&amp;gt;ABC(_|\-)\d+):(?&amp;lt;errorMessage&amp;gt;.*)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Jun 2021 16:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555139#M6076</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-09T16:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555140#M6077</link>
      <description>&lt;P&gt;this also didnt work&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 16:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555140#M6077</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-09T16:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555143#M6078</link>
      <description>&lt;P&gt;This runanywhere example shows it working.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval _raw="2021-06-09 15:00:37.640  ThreadCompletableFuture : {\"logType\":\"STANDARD\",\"message\":\"Exception occurred executing task\",\"context\":{\"configLabel\":\"abc-session-4.0-372\",\"threadContextId\":\"2e63fe-83f\"},\"exception\":\"java.util.concurrent.ExecutionException: CommonApplicationException: ABC_2004:We're sorry, it looks like an error occurred while retrieving information
2021-06-09 15:00:37.640  ThreadCompletableFuture : {\"logType\":\"STANDARD\",\"message\":\"Exception occurred executing task\",\"context\":{\"configLabel\":\"abc-session-4.0-372\",\"threadContextId\":\"2e63fe-83f\"},\"exception\":\"java.util.concurrent.ExecutionException: CommonApplicationException: ABC-2014:We're sorry, it looks like an error occurred while retrieving information"
| multikv noheader=t 
| table _raw


| rex "(?&amp;lt;errorCode&amp;gt;ABC(_|\-)\d+):(?&amp;lt;errorMessage&amp;gt;.*)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Jun 2021 17:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555143#M6078</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-09T17:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555166#M6080</link>
      <description>&lt;P&gt;It didnt work only shows two events no codes and message&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 18:07:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555166#M6080</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-09T18:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555167#M6081</link>
      <description>&lt;P&gt;Try below regular expression&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|rex field=_raw "Exception\:\s(?=ABC)(?&amp;lt;ABC_CODE&amp;gt;[^\:]+)\:(?&amp;lt;Message&amp;gt;[^\"]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming your message ends with double quotes(")&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 18:35:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555167#M6081</guid>
      <dc:creator>rupkumar4sec</dc:creator>
      <dc:date>2021-06-09T18:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555170#M6083</link>
      <description>&lt;P&gt;didnt work for this as well shows all the logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 18:54:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555170#M6083</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-09T18:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555174#M6084</link>
      <description>&lt;P&gt;Yeah it is just a rex command so it will show raw events. If you want a table like you asked in&amp;nbsp; one of your comments use below search&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;index=abc "exception":"java.util.concurrent.ExecutionException"
| rex field=_raw "Exception\:\s(?=ABC)(?&amp;lt;ABC_CODE&amp;gt;[^\:]+)\:(?&amp;lt;Message&amp;gt;[^\"]+)"
| stats count by  ABC_CODE, Message&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jun 2021 19:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555174#M6084</guid>
      <dc:creator>rupkumar4sec</dc:creator>
      <dc:date>2021-06-09T19:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555175#M6085</link>
      <description>&lt;P&gt;this looks good but is there a way to minimize message to limited text instead of whole events error?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 19:46:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-rex-field/m-p/555175#M6085</guid>
      <dc:creator>DougiieDee</dc:creator>
      <dc:date>2021-06-09T19:46:03Z</dc:date>
    </item>
  </channel>
</rss>

