<?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 HOW TO GET FULL NAME USING REGEX FROM RAW DATA in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574822#M200307</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How i can get the full name from log ie. &lt;STRONG&gt;Name=Busaram Manjraj&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am trying&amp;nbsp;with this regex&amp;nbsp;&lt;STRONG&gt;|rex field=-_raw "(?&amp;lt;Name&amp;gt;[^&amp;amp;]+)\s*\d*"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but it is giving just Name=Busaram not the full name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Splunk&amp;nbsp;raw data looks like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Name=Busaram, Manjraj&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Nov 2021 15:11:55 GMT</pubDate>
    <dc:creator>hrs2019</dc:creator>
    <dc:date>2021-11-13T15:11:55Z</dc:date>
    <item>
      <title>HOW TO GET FULL NAME USING REGEX FROM RAW DATA</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574822#M200307</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How i can get the full name from log ie. &lt;STRONG&gt;Name=Busaram Manjraj&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am trying&amp;nbsp;with this regex&amp;nbsp;&lt;STRONG&gt;|rex field=-_raw "(?&amp;lt;Name&amp;gt;[^&amp;amp;]+)\s*\d*"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but it is giving just Name=Busaram not the full name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Splunk&amp;nbsp;raw data looks like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Name=Busaram, Manjraj&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 15:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574822#M200307</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2021-11-13T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FULL NAME USING REGEX FROM RAW DATA</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574823#M200308</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/32069"&gt;@hrs2019&lt;/a&gt;&amp;nbsp;Can you please share the full raw log ?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 15:21:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574823#M200308</guid>
      <dc:creator>ashvinpandey</dc:creator>
      <dc:date>2021-11-13T15:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FULL NAME USING REGEX FROM RAW DATA</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574825#M200309</link>
      <description>&lt;P&gt;Firstly, if you want the regex not to capture the "Name=" part, you should specify it explicitly before the capture group.&lt;/P&gt;&lt;PRE&gt;Name=(?&amp;lt;Name&amp;gt;[^&amp;amp;]+)\s*\d*&lt;/PRE&gt;&lt;P&gt;Secondly, for me, it works (if you give proper field name):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PickleRick_0-1636820282181.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16849i718E01A2237BD077/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PickleRick_0-1636820282181.png" alt="PickleRick_0-1636820282181.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thirdly, why the \d* at the end? You have more data you're not showing us?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 16:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574825#M200309</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-13T16:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FULL NAME USING REGEX FROM RAW DATA</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574827#M200310</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;Thanks for your reply i have added the screenshot for my output please have a look and the log also.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test1000.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16850iAE142221C3CEE580/image-size/large?v=v2&amp;amp;px=999" role="button" title="test1000.PNG" alt="test1000.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 16:34:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574827#M200310</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2021-11-13T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FULL NAME USING REGEX FROM RAW DATA</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574828#M200311</link>
      <description>&lt;P&gt;added.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 16:35:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574828#M200311</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2021-11-13T16:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FULL NAME USING REGEX FROM RAW DATA</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574829#M200312</link>
      <description>&lt;P&gt;I don't know what your "-_raw" field is supposed to mean. The field name (with an exception for splunk's internal field like _raw or _time) has to start on a letter. Drop the "field=" option completely (even with matching _raw, you shouldn't use it - the rex command matches to _raw by default and specifying it explicitly can have performance impact - at least that's what the docs say).&lt;/P&gt;&lt;P&gt;If you match your regex to whole event, you should... get all event up to any apersand ("&amp;amp;") signs.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 17:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574829#M200312</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-13T17:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO GET FULL NAME USING REGEX FROM RAW DATA</title>
      <link>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574877#M200331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/32069"&gt;@hrs2019&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;| rex "Name=(?P&amp;lt;Name&amp;gt;\w+\,\s\w+)"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhargavi_0-1636958326971.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16856iA21FBC8DCA275DFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhargavi_0-1636958326971.png" alt="bhargavi_0-1636958326971.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 06:39:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/HOW-TO-GET-FULL-NAME-USING-REGEX-FROM-RAW-DATA/m-p/574877#M200331</guid>
      <dc:creator>bhargavi</dc:creator>
      <dc:date>2021-11-15T06:39:38Z</dc:date>
    </item>
  </channel>
</rss>

