<?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: rex command to extract in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507821#M141955</link>
    <description>&lt;P&gt;thanks, you're a legend.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 12:40:06 GMT</pubDate>
    <dc:creator>sphiwee</dc:creator>
    <dc:date>2020-07-07T12:40:06Z</dc:date>
    <item>
      <title>rex command to extract</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507810#M141950</link>
      <description>&lt;P&gt;[2020-07-07 12:40:01+0200] workspace_sandbox RUNNING pid 17159, uptime 21 days, 21:43:58&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have this line of log but i want to extract only&amp;nbsp;workspace_sandbox as a field called Services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im using&amp;nbsp;rex "(^(?&amp;lt;Service&amp;gt;\s\s\w+.\w+))\s\s" but having no luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also want to extract "Running" as status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 11:36:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507810#M141950</guid>
      <dc:creator>sphiwee</dc:creator>
      <dc:date>2020-07-07T11:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: rex command to extract</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507811#M141951</link>
      <description>&lt;P&gt;| rex "\]\s(?&amp;lt;Service&amp;gt;\S+) (?&amp;lt;status&amp;gt;\S+)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 11:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507811#M141951</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-07-07T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: rex command to extract</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507813#M141952</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sphiwee_0-1594122964722.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9538i7AC484A6CAF7F418/image-size/large?v=v2&amp;amp;px=999" role="button" title="sphiwee_0-1594122964722.png" alt="sphiwee_0-1594122964722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what i get, dont think it has to be like this.. any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 11:57:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507813#M141952</guid>
      <dc:creator>sphiwee</dc:creator>
      <dc:date>2020-07-07T11:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: rex command to extract</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507815#M141953</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223364"&gt;@sphiwee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;please, try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\]\s+(?&amp;lt;service&amp;gt;[^ ]+)\s+(?&amp;lt;status&amp;gt;[^ ]+)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/ursNeq/1" target="_blank"&gt;https://regex101.com/r/ursNeq/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 12:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507815#M141953</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-07T12:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: rex command to extract</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507821#M141955</link>
      <description>&lt;P&gt;thanks, you're a legend.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 12:40:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507821#M141955</guid>
      <dc:creator>sphiwee</dc:creator>
      <dc:date>2020-07-07T12:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: rex command to extract</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507830#M141958</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223364"&gt;@sphiwee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You're welcome!&lt;/P&gt;&lt;P&gt;Karma Points are appreciated.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 12:59:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-command-to-extract/m-p/507830#M141958</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-07T12:59:06Z</dc:date>
    </item>
  </channel>
</rss>

