<?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 Name Extraction needed in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520879#M146730</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have below scenario where a sample gym has many customers and their accounts. Some are individual and some are Individual plus co-signer. I need to have below name combinations in data extracted via regex if possible in new fields respectively as shown in below table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where they will be coming as null after extraction, I will just fill them with fillnull or eval. Thanks in-advance!!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-09-22_11-18-01.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10933i31A513EDDDAE4364/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-09-22_11-18-01.png" alt="2020-09-22_11-18-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10934iFBFB345841A3F995/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 18:53:07 GMT</pubDate>
    <dc:creator>mbasharat</dc:creator>
    <dc:date>2020-09-22T18:53:07Z</dc:date>
    <item>
      <title>Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520879#M146730</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have below scenario where a sample gym has many customers and their accounts. Some are individual and some are Individual plus co-signer. I need to have below name combinations in data extracted via regex if possible in new fields respectively as shown in below table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where they will be coming as null after extraction, I will just fill them with fillnull or eval. Thanks in-advance!!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-09-22_11-18-01.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10933i31A513EDDDAE4364/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-09-22_11-18-01.png" alt="2020-09-22_11-18-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10934iFBFB345841A3F995/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 18:53:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520879#M146730</guid>
      <dc:creator>mbasharat</dc:creator>
      <dc:date>2020-09-22T18:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520892#M146731</link>
      <description>&lt;P&gt;What do the source file records actually look like? (Obviously, you should anonymise any real data.)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 16:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520892#M146731</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-22T16:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520914#M146742</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@ ITWhisperer,&lt;/P&gt;&lt;P&gt;I have updated the question with some mock samples.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 18:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520914#M146742</guid>
      <dc:creator>mbasharat</dc:creator>
      <dc:date>2020-09-22T18:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520920#M146746</link>
      <description>&lt;P&gt;How is this data coming into splunk? Are the comma-separated lines? Is it XML? Is it JSON? Can you share the raw data (anonymised)? That is, you share it is a format that rex can be applied to?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 19:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520920#M146746</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-22T19:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520948#M146754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@ ITWhisperer,&lt;/P&gt;&lt;P&gt;Data is from flat/txt logfiles.&lt;/P&gt;&lt;P&gt;Fields are delimited by pipe "|".&lt;/P&gt;&lt;P&gt;Data is in below format:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;2020-09-22 17:46:59,092|INFO|SVCRESP|&lt;STRONG&gt;clientid123&lt;/STRONG&gt;|SEE|ABC|ECM|INFO|0000000000|1.1.1.1|123456789|202011|05|2|SUCCESS|TEST|sampleserver.com|default task-7|10|9999999999&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The highlighted "clientid123" is what I match on using a lookup that contains client account information.&lt;/P&gt;&lt;P&gt;If client id is &lt;STRONG&gt;clientid123&lt;/STRONG&gt; then lookup correlation in search brings in client info as well as associated cosigner/account holder. This client and co-account holder names come in the combination in screenshots in question and I need to break them down/extracted into new fields using rex in a clean format.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 01:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520948#M146754</guid>
      <dc:creator>mbasharat</dc:creator>
      <dc:date>2020-09-23T01:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520972#M146758</link>
      <description>&lt;P&gt;OK if I understand correctly&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;-- your search
| lookup accountfile clientId&lt;/LI-CODE&gt;&lt;P&gt;This will add PRIMARY, PRIMARYMIDDLE, PRIMARYLAST,&amp;nbsp; SECONDARYFIRST&amp;nbsp; SECONDARYMIDDLE&amp;nbsp; and SECONDARYLAST fields to your event (from the file). I am assuming the lookup file is correctly formatted for this already or is that the issue?&lt;/P&gt;&lt;P&gt;Is this what is already happening? What more do you need?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 06:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/520972#M146758</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-23T06:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521073#M146802</link>
      <description>&lt;P&gt;Hi @ ITWhisperer,&lt;/P&gt;&lt;P&gt;Th analogy you mentioned for search is correct and thats what I am using BUT The only fields lookup has is clientID, Primary and Secondary names. These names are not broken down into First, Middle and Last for both Primary and Secondary.&lt;/P&gt;&lt;P&gt;Look has only below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ClientID, PrimaryName,SecondaryName&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;That breakdown is what I need for both Primary and Secondary names as shown in the snapshots attached in original question.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:21:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521073#M146802</guid>
      <dc:creator>mbasharat</dc:creator>
      <dc:date>2020-09-23T14:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521078#M146804</link>
      <description>&lt;P&gt;So you want a regex that will take a name (PrimaryName or SecondaryName) and split it into First, Middle and Last? How do you distinguish between names which have first and middle only and first and last only?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:34:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521078#M146804</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-23T14:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521121#M146815</link>
      <description>&lt;P&gt;That's correct. I need&amp;nbsp;&lt;SPAN&gt;regex that will take a name (PrimaryName or SecondaryName) and split it into First, Middle and Last?&lt;BR /&gt;&lt;BR /&gt;As per question about how to distinguish between names which have first and middle only and first and last only; they are still under Primary/Secondary for each. So as far as Primary and Secondary are broken down, it looks like that all will be broken down fine wouldn't&amp;nbsp;they?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 17:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521121#M146815</guid>
      <dc:creator>mbasharat</dc:creator>
      <dc:date>2020-09-23T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521147#M146822</link>
      <description>&lt;P&gt;Given your example data, some people have two last names (and no middle name), some people have two middle names, some people have two first names and a middle name/initial. if you took the name and split it by spaces into its constituent parts, and I guess there could be more than 4 although your examples don't show any, it might be possible to construct a number of options.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 19:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521147#M146822</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-23T19:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Name Extraction needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521301#M146884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@ ITWhisperer,&lt;/P&gt;&lt;P&gt;That is exactly what I am dealing with.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 15:06:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Name-Extraction-needed/m-p/521301#M146884</guid>
      <dc:creator>mbasharat</dc:creator>
      <dc:date>2020-09-24T15:06:01Z</dc:date>
    </item>
  </channel>
</rss>

