<?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: Need Regex for a field extraction in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632796#M108358</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244375"&gt;@sekhar463&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand:&lt;/P&gt;&lt;P&gt;you want to extract the word after Major (&lt;SPAN class=""&gt;SIPCM,&amp;nbsp;NRS and&amp;nbsp;&lt;SPAN&gt;LVM) in a field called "Major" and the string after these values to the end as "message" field, is it correct?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;if this is your need, please try this regex:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^Major\s+(?&amp;lt;major&amp;gt;\w+)\s+(?&amp;lt;message&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/HBKc52/1" target="_blank"&gt;https://regex101.com/r/HBKc52/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 15:46:01 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-03-01T15:46:01Z</dc:date>
    <item>
      <title>Help with Regex for a field extraction?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632792#M108357</link>
      <description>&lt;P&gt;hai all,&lt;/P&gt;
&lt;P&gt;need help on regex to extract Major as new field with message whatever after Major&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Major&lt;/SPAN&gt; &lt;SPAN class=""&gt;SIPCM&lt;/SPAN&gt;&lt;SPAN&gt; *&lt;/SPAN&gt;&lt;SPAN class=""&gt;SipCmRecvFromTcpSocket:&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Error&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;in&lt;/SPAN&gt; &lt;SPAN class=""&gt;reading&lt;/SPAN&gt; &lt;SPAN class=""&gt;data&lt;/SPAN&gt; &lt;SPAN class=""&gt;on&lt;/SPAN&gt; &lt;SPAN class=""&gt;socketId&lt;/SPAN&gt; &lt;SPAN class=""&gt;247&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;errno=104&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Major NRS ARP lookup for 216.20.237.19 on interface pkt0 with addrContextId 1 failed: SIOGARP &lt;SPAN class=""&gt;error&lt;/SPAN&gt;&lt;SPAN&gt; , &lt;/SPAN&gt;&lt;SPAN class=""&gt;error&lt;/SPAN&gt;&lt;SPAN&gt; 6&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Major LVM *NpMediaYmacRespHdlr: &lt;SPAN class=""&gt;error&lt;/SPAN&gt; code 0x3 recvd for bcm cmd 4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:26:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632792#M108357</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2023-03-01T18:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex for a field extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632796#M108358</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244375"&gt;@sekhar463&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand:&lt;/P&gt;&lt;P&gt;you want to extract the word after Major (&lt;SPAN class=""&gt;SIPCM,&amp;nbsp;NRS and&amp;nbsp;&lt;SPAN&gt;LVM) in a field called "Major" and the string after these values to the end as "message" field, is it correct?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;if this is your need, please try this regex:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^Major\s+(?&amp;lt;major&amp;gt;\w+)\s+(?&amp;lt;message&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/HBKc52/1" target="_blank"&gt;https://regex101.com/r/HBKc52/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 15:46:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632796#M108358</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-01T15:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex for a field extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632797#M108359</link>
      <description>&lt;P&gt;Want to extract all message after Major and keep in a new fields as Major&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 15:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632797#M108359</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2023-03-01T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex for a field extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632798#M108360</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244375"&gt;@sekhar463&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;ok, all after Major in a field called "Major", please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^Major\s+(?&amp;lt;Major&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/HBKc52/2" target="_blank"&gt;https://regex101.com/r/HBKc52/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 16:06:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-Regex-for-a-field-extraction/m-p/632798#M108360</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-01T16:06:17Z</dc:date>
    </item>
  </channel>
</rss>

