<?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: Field Extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705072#M238783</link>
    <description>&lt;P&gt;Try my revised answer.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2024 17:06:31 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-11-22T17:06:31Z</dc:date>
    <item>
      <title>Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705066#M238780</link>
      <description>&lt;P&gt;Need help to extract a field that comes after a certain word in a event.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am looking to extract a field called "sn_grp" with the value of "&lt;SPAN&gt;M2 Infra Ops". So for every event that has &lt;STRONG&gt;sn_grp&lt;/STRONG&gt;:&amp;nbsp; i would like to extract the string that follows of "&lt;STRONG&gt;M2 Infra Ops&lt;/STRONG&gt;". This string value will be the same name for every event.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Below is an example data set i am using to write the regex to&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;\"sn_grp:&lt;STRONG&gt;M2 Infra Ops&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;\"},{\"context\":\"CONTEXTLESS\",\"key\":\"Correspondence Routing Engine\&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 16:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705066#M238780</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2024-11-22T16:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705067#M238781</link>
      <description>&lt;P&gt;This should get you started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "sn_grp:(?&amp;lt;sn_grp&amp;gt;[^\\]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 17:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705067#M238781</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-11-22T17:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705071#M238782</link>
      <description>&lt;P&gt;That seems to work however it is capturing the "\" in the string at the end. I want the value to stop after Ops in the string and not include the "\"&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 17:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705071#M238782</guid>
      <dc:creator>scout29</dc:creator>
      <dc:date>2024-11-22T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705072#M238783</link>
      <description>&lt;P&gt;Try my revised answer.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 17:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction/m-p/705072#M238783</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-11-22T17:06:31Z</dc:date>
    </item>
  </channel>
</rss>

