<?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 How to create a rex for search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-rex-for-search/m-p/393730#M114466</link>
    <description>&lt;P&gt;I have the below log line:&lt;BR /&gt;
Slow GraphQL query [8447ms]&lt;/P&gt;

&lt;P&gt;How can I grab only the value "8447"?&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 23:33:59 GMT</pubDate>
    <dc:creator>super_virus</dc:creator>
    <dc:date>2018-08-06T23:33:59Z</dc:date>
    <item>
      <title>How to create a rex for search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-rex-for-search/m-p/393730#M114466</link>
      <description>&lt;P&gt;I have the below log line:&lt;BR /&gt;
Slow GraphQL query [8447ms]&lt;/P&gt;

&lt;P&gt;How can I grab only the value "8447"?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 23:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-rex-for-search/m-p/393730#M114466</guid>
      <dc:creator>super_virus</dc:creator>
      <dc:date>2018-08-06T23:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a rex for search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-rex-for-search/m-p/393731#M114467</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;Please find the following image&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5517iA2980587B46456E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 23:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-rex-for-search/m-p/393731#M114467</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2018-08-06T23:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a rex for search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-rex-for-search/m-p/393732#M114468</link>
      <description>&lt;P&gt;Search-time? Index-time? Are all the events similar? Is that the whole event?&lt;/P&gt;

&lt;P&gt;If you just want a search-time &lt;CODE&gt;rex&lt;/CODE&gt; way with the example data being the whole event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "\[(?P&amp;lt;ms&amp;gt;\d+)ms\]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If it isn't the entire event, then use the &lt;CODE&gt;field=yourfieldname&lt;/CODE&gt; option to the &lt;CODE&gt;rex&lt;/CODE&gt; command.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 23:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-rex-for-search/m-p/393732#M114468</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2018-08-06T23:51:52Z</dc:date>
    </item>
  </channel>
</rss>

