<?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: Trying to create a custom Field Extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667982#M229182</link>
    <description>&lt;P&gt;i am looking for the field &lt;STRONG&gt;registrar&lt;/STRONG&gt; to be extracted. There are three spaces after the registrar string - but i cant seem to write my regex to capture the full registrar name up to the three spaces. I am using this but not getting the full string extracted&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;\sRegistrar:\s(?&amp;lt;registrar&amp;gt;\w+\s\w+)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 21:41:51 GMT</pubDate>
    <dc:creator>scout29</dc:creator>
    <dc:date>2023-11-08T21:41:51Z</dc:date>
    <item>
      <title>Trying to create a custom Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667979#M229179</link>
      <description>&lt;P&gt;I am trying to write a regex to extract a field called "registrar" from some data like i have below. Can you please help how i could write this regex to be used in a rex command to extract the field? Below are three example events:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Registry Date: 2025-10-08T15:18:58Z&amp;nbsp; &amp;nbsp;Registrar: ABC Holdings, Inc.&amp;nbsp; &amp;nbsp;Registrar ID: 291&amp;nbsp; Server Name: AD12&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Registry Date: 2025-11-08T15:11:58Z&amp;nbsp; &amp;nbsp;Registrar: OneTeam, Inc.&amp;nbsp; &amp;nbsp;Registrar ID: 235&amp;nbsp; Server Name: AD17&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Registry Date: 2025-12-08T15:10:58Z&amp;nbsp; &amp;nbsp;Registrar: appit.com, LLC&amp;nbsp; &amp;nbsp;Registrar ID: 257&amp;nbsp; Server Name: AD14&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the regex to use to extract the field called "&lt;STRONG&gt;registrar&lt;/STRONG&gt;"&amp;nbsp; which in the above example would have the following three value matches:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ABC Holdings, Inc.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OneTeam, Inc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;appit.com, LLC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 20:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667979#M229179</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2023-11-08T20:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a custom Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667981#M229181</link>
      <description>&lt;P&gt;Try adding this to your search&lt;/P&gt;&lt;PRE&gt;| rex field=_raw "Registrar ID: (?&amp;lt;registrar_id&amp;gt;\S+)"&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;Update: I misread your post, standby for an updated search to include all three field extraction - unless someone else beat me to it. You can also use the "Extract New Fields" or "Event Actions" option when you run your search.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 21:43:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667981#M229181</guid>
      <dc:creator>m_pham</dc:creator>
      <dc:date>2023-11-08T21:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a custom Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667982#M229182</link>
      <description>&lt;P&gt;i am looking for the field &lt;STRONG&gt;registrar&lt;/STRONG&gt; to be extracted. There are three spaces after the registrar string - but i cant seem to write my regex to capture the full registrar name up to the three spaces. I am using this but not getting the full string extracted&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;\sRegistrar:\s(?&amp;lt;registrar&amp;gt;\w+\s\w+)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 21:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667982#M229182</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2023-11-08T21:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a custom Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667984#M229184</link>
      <description>&lt;P&gt;Try this - I'm not&amp;nbsp;&lt;EM&gt;the&amp;nbsp;&lt;/EM&gt;best at regex and someone else may come along and provide a more efficient one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Registrar: (?&amp;lt;registrar&amp;gt;.+[^\s]).+Registrar ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 21:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/667984#M229184</guid>
      <dc:creator>m_pham</dc:creator>
      <dc:date>2023-11-08T21:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a custom Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/668005#M229190</link>
      <description>&lt;P&gt;Assuming the fields are always in the same order, this should do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "Registrar: (?&amp;lt;registrar&amp;gt;.*?) Registar ID"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Nov 2023 01:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trying-to-create-a-custom-Field-Extraction/m-p/668005#M229190</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-11-09T01:19:50Z</dc:date>
    </item>
  </channel>
</rss>

