<?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 extract http response code in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/extract-http-response-code/m-p/523518#M147634</link>
    <description>&lt;P&gt;I have events consisting of a &lt;STRONG&gt;msg&lt;/STRONG&gt; field with data like below:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t string"&gt;dev.scurry.com - [2020-01-05T19:08:10.7658789Z] "&lt;STRONG&gt;PUT&lt;/STRONG&gt; /case-pst/msging/eith/TNT/2020-01-05/blob/tenthouse.txt HTTP/1.1" &lt;STRONG&gt;200&lt;/STRONG&gt; 0 61814 "-" "-" "182.236.164.11:25412" "182.236.0.0:12001" x_forwarded_for:"182.236.164.11, 182.236.164.11" x_forwarded_proto:"https" vcap_request_id:"asdf098a0-j453-8asdf8-876-8907asdf9087" response_time:0.079841 gorouter_time:0.000152 app_id:"asdf098a0-j453-8asdf8-876-8907asdf9087" app_index:"0" x_cf_routererror:"-" x_b3_traceid:"asdf098as78987" x_b3_spanid:"7a7sad9898d90khjk" x_b3_parentspanid:"-" q3:"7asdf987987asdf9-78968asfdklj"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to extract the http status code and only for PUT requests.&lt;/P&gt;&lt;P&gt;Am new to regex. Any advise or pointers.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 19:42:37 GMT</pubDate>
    <dc:creator>praveenvvn</dc:creator>
    <dc:date>2020-10-07T19:42:37Z</dc:date>
    <item>
      <title>extract http response code</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-http-response-code/m-p/523518#M147634</link>
      <description>&lt;P&gt;I have events consisting of a &lt;STRONG&gt;msg&lt;/STRONG&gt; field with data like below:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t string"&gt;dev.scurry.com - [2020-01-05T19:08:10.7658789Z] "&lt;STRONG&gt;PUT&lt;/STRONG&gt; /case-pst/msging/eith/TNT/2020-01-05/blob/tenthouse.txt HTTP/1.1" &lt;STRONG&gt;200&lt;/STRONG&gt; 0 61814 "-" "-" "182.236.164.11:25412" "182.236.0.0:12001" x_forwarded_for:"182.236.164.11, 182.236.164.11" x_forwarded_proto:"https" vcap_request_id:"asdf098a0-j453-8asdf8-876-8907asdf9087" response_time:0.079841 gorouter_time:0.000152 app_id:"asdf098a0-j453-8asdf8-876-8907asdf9087" app_index:"0" x_cf_routererror:"-" x_b3_traceid:"asdf098as78987" x_b3_spanid:"7a7sad9898d90khjk" x_b3_parentspanid:"-" q3:"7asdf987987asdf9-78968asfdklj"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to extract the http status code and only for PUT requests.&lt;/P&gt;&lt;P&gt;Am new to regex. Any advise or pointers.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 19:42:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-http-response-code/m-p/523518#M147634</guid>
      <dc:creator>praveenvvn</dc:creator>
      <dc:date>2020-10-07T19:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: extract http response code</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-http-response-code/m-p/523711#M147732</link>
      <description>&lt;P&gt;This should do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=msg "\\\"PUT [^\\\"]+\\\" (?&amp;lt;errorCode&amp;gt;\d+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 Oct 2020 14:24:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-http-response-code/m-p/523711#M147732</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-08T14:24:40Z</dc:date>
    </item>
  </channel>
</rss>

