<?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: extract errorcode in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572626#M199587</link>
    <description>&lt;P&gt;after several try, find correct rex:&lt;/P&gt;&lt;P&gt;| rex "SQL\sError\:\s\-(?&amp;lt;Error&amp;gt;\d+)" | rex "\:\s(?&amp;lt;&lt;SPAN&gt;Status&lt;/SPAN&gt;&amp;gt;\w+)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 11:28:37 GMT</pubDate>
    <dc:creator>indeed_2000</dc:creator>
    <dc:date>2021-10-27T11:28:37Z</dc:date>
    <item>
      <title>extract errorcode</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572582#M199563</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Here is th e log:&lt;/P&gt;&lt;P&gt;2021-10-26 08:17:19,117 WARN AbCD-App2-0000 [SqlExceptionHelper] SQL Error: -268, SQLState: 23000&lt;BR /&gt;2021-10-26 08:01:47,674 WARN CUS.AbCD-APP2-0000000 [SqlExceptionHelper] SQL Error: -100, SQLState: IX000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;expected output:&lt;/P&gt;&lt;P&gt;Error&amp;nbsp; &amp;nbsp; Status&lt;/P&gt;&lt;P&gt;268&amp;nbsp; &amp;nbsp; &amp;nbsp;23000&lt;/P&gt;&lt;P&gt;100&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;IX000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 06:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572582#M199563</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-27T06:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: extract errorcode</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572588#M199566</link>
      <description>&lt;P&gt;Rex should work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;base search&amp;gt;
| rex "SQL Error: -(?&amp;lt;Error&amp;gt;]\d+), SQLState: (?&amp;lt;Status&amp;gt;.+)"
| table Error Status&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 06:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572588#M199566</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2021-10-27T06:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: extract errorcode</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572592#M199568</link>
      <description>&lt;P&gt;not work&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 06:52:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572592#M199568</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-27T06:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: extract errorcode</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572626#M199587</link>
      <description>&lt;P&gt;after several try, find correct rex:&lt;/P&gt;&lt;P&gt;| rex "SQL\sError\:\s\-(?&amp;lt;Error&amp;gt;\d+)" | rex "\:\s(?&amp;lt;&lt;SPAN&gt;Status&lt;/SPAN&gt;&amp;gt;\w+)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 11:28:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-errorcode/m-p/572626#M199587</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-27T11:28:37Z</dc:date>
    </item>
  </channel>
</rss>

