<?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  fields in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/rex-fields/m-p/656433#M11680</link>
    <description>&lt;P&gt;Your question is rather vague, but assuming you want the beginning of the _raw event field up to but not including the first | you could try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^(?&amp;lt;url&amp;gt;[^\|]+)"&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 01 Sep 2023 13:15:48 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-09-01T13:15:48Z</dc:date>
    <item>
      <title>rex  fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/rex-fields/m-p/656431#M11679</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;please help to get new field URI by using rex&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;/area/label/health/readiness||||||||||METRICS|--&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 12:56:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/rex-fields/m-p/656431#M11679</guid>
      <dc:creator>lucky</dc:creator>
      <dc:date>2023-09-01T12:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: rex  fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/rex-fields/m-p/656433#M11680</link>
      <description>&lt;P&gt;Your question is rather vague, but assuming you want the beginning of the _raw event field up to but not including the first | you could try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^(?&amp;lt;url&amp;gt;[^\|]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Sep 2023 13:15:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/rex-fields/m-p/656433#M11680</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-01T13:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: rex  fields</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/rex-fields/m-p/656434#M11681</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;this should works&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| rex "(?&amp;lt;URI&amp;gt;^[^\|]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I assume that your event is in _raw. If it's already in some field then just add "fields=&amp;lt;your field&amp;gt;" after rex.&lt;/P&gt;&lt;P&gt;&lt;A href="https://regex101.com/r/IsMwQy/1" target="_blank"&gt;https://regex101.com/r/IsMwQy/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 13:16:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/rex-fields/m-p/656434#M11681</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-09-01T13:16:19Z</dc:date>
    </item>
  </channel>
</rss>

