<?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 Regex isnt working for my search string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-isnt-working-for-my-search-string/m-p/388480#M168789</link>
    <description>&lt;P&gt;I want to extract a field from the log event using regex .following is the sample log event , can someone tell me how to write rex for it .My rex isn't working ,it says mismatched ']' &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;java.util.concurrent.Exception: Code: Internal Server Error; Exception: com.rate.ps.execute.exception.Exception: { "message": "not upto date" }&lt;BR /&gt;
... 11 lines omitted ...&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I want to write rex for "Code: Internal Server Error; Exception: com.rate.ps.execute.exception.Exception: { "message": "not upto date" }"&lt;/P&gt;

&lt;P&gt;|rex (?([a-zA-Z]\w+.)+\w*Exception\W+[^"]+\W:\W+[^"]+\W*)&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:02:21 GMT</pubDate>
    <dc:creator>navd</dc:creator>
    <dc:date>2020-09-29T20:02:21Z</dc:date>
    <item>
      <title>Regex isnt working for my search string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-isnt-working-for-my-search-string/m-p/388480#M168789</link>
      <description>&lt;P&gt;I want to extract a field from the log event using regex .following is the sample log event , can someone tell me how to write rex for it .My rex isn't working ,it says mismatched ']' &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;java.util.concurrent.Exception: Code: Internal Server Error; Exception: com.rate.ps.execute.exception.Exception: { "message": "not upto date" }&lt;BR /&gt;
... 11 lines omitted ...&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I want to write rex for "Code: Internal Server Error; Exception: com.rate.ps.execute.exception.Exception: { "message": "not upto date" }"&lt;/P&gt;

&lt;P&gt;|rex (?([a-zA-Z]\w+.)+\w*Exception\W+[^"]+\W:\W+[^"]+\W*)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:02:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-isnt-working-for-my-search-string/m-p/388480#M168789</guid>
      <dc:creator>navd</dc:creator>
      <dc:date>2020-09-29T20:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regex isnt working for my search string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-isnt-working-for-my-search-string/m-p/388481#M168790</link>
      <description>&lt;P&gt;Not real sure which part you are trying to capture, but here is what I came up with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex "java\.util\.concurrent\.Exception\:\s(?&amp;lt;CODE&amp;gt;.[^\;]+)\;\sException\:(?&amp;lt;EXCEPTION&amp;gt;.[^\:]+)\:\s\{\s(?&amp;lt;MSG&amp;gt;.[^\}]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if you need more.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 20:25:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-isnt-working-for-my-search-string/m-p/388481#M168790</guid>
      <dc:creator>jodyfsu</dc:creator>
      <dc:date>2018-06-19T20:25:22Z</dc:date>
    </item>
  </channel>
</rss>

