<?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: Need help to grep for a string from a search query. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-to-grep-for-a-string-from-a-search-query/m-p/334164#M175287</link>
    <description>&lt;P&gt;This will extract the last digits before the &lt;CODE&gt;HTTP/1.1&lt;/CODE&gt; and the field name will be &lt;CODE&gt;Digits&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;... rex | (?&amp;lt;Digits&amp;gt;\d+)\sHTTP\/1\.1&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2017 13:03:52 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2017-03-03T13:03:52Z</dc:date>
    <item>
      <title>Need help to grep for a string from a search query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-to-grep-for-a-string-from-a-search-query/m-p/334163#M175286</link>
      <description>&lt;P&gt;Below is the sample result i get after running a query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Mar  2 19:38:25  myhost  apache2: "123.12.13.14" - - [02/Mar/2017:19:38:25 +0000] "POST /here/is/my/url?p=12345a-12d-12e-12r-123456&amp;amp;t=1111ea-11c1-111e-111c-1111111-99999999 HTTP/1.1" http_status_code=500 http_response_bytes=291 http_referer="-" http_user_agent="Java1.6.0_75" http_response_time=6526 http_ttfb=6439
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need to extract that 9999999 ( after those 1111's)  and list out in a separate field.I am finding difficult time to use rex in Splunk.Somebody please help me out here.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 23:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-to-grep-for-a-string-from-a-search-query/m-p/334163#M175286</guid>
      <dc:creator>chetanhonnavile</dc:creator>
      <dc:date>2017-03-02T23:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to grep for a string from a search query.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-to-grep-for-a-string-from-a-search-query/m-p/334164#M175287</link>
      <description>&lt;P&gt;This will extract the last digits before the &lt;CODE&gt;HTTP/1.1&lt;/CODE&gt; and the field name will be &lt;CODE&gt;Digits&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;... rex | (?&amp;lt;Digits&amp;gt;\d+)\sHTTP\/1\.1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:03:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-to-grep-for-a-string-from-a-search-query/m-p/334164#M175287</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-03-03T13:03:52Z</dc:date>
    </item>
  </channel>
</rss>

