<?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: Assets with overlapping DHCP Addresses Merging in ES 6 in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464874#M6909</link>
    <description>&lt;P&gt;I believe in previous versions empty values were replaced with "unknown"? &lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2020 12:32:57 GMT</pubDate>
    <dc:creator>evelenke</dc:creator>
    <dc:date>2020-04-15T12:32:57Z</dc:date>
    <item>
      <title>Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464869#M6904</link>
      <description>&lt;P&gt;We use SA-ldapsearch to pull Active Directory data into the ES Assets &amp;amp; Identity framework. We do not currently ingest DHCP logs, but the IP address last seen for an AD computer is pulled in as part of the ldapsearch lookup gen search (below). Having recently updated to ES 6 and Splunk 8, I'm noticing that workstations are being combined in the Asset KV stores (assets_by_str) if they share an IP address. Since IP addresses change at different times and many of our users work from home with or without VPN, this is a common occurrence. This leads to ridiculous results in investigation in which the "source_hostname" ends up being mapped from the source (DHCP) IP address in the search result to an MV field of 50-60 hostnames all of which at some point or another in history had that IP address. &lt;/P&gt;

&lt;P&gt;I know that I can turn Asset correlation OFF in the ES configuration for Data Enrichment, but I don't want that, since hostnames are accurately resolved to user identities in many cases; also, old data is better than no data. I have considered conditionally eliminating IP addresses from our DHCP ranges by simply conditionally removing the IP record from the lookup gen search (below), but what I'm really looking for is a best practice. Is Splunk ES 6 designed to handle DHCP in some other way I'm not seeing? If not, this change seems asinine. No one could ever want the asset data for DHCP endpoints to be handled in this way.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| ldapsearch domain=default search="(&amp;amp;(objectClass=computer))" 
| eval city="" 
| eval country="US" 
| eval priority="medium" 
| eval category="normal" 
| eval dns=dNSHostName 
| eval owner=description 
| rex field=sAMAccountName mode=sed "s/\$//g" 
| eval nt_host=sAMAccountName 
| makemv delim="," dn 
| rex field=dn "(OU|CN)\=(?&amp;lt;bunit&amp;gt;.+)" 
| eval requires_av="true" 
| eval should_update="true" 
| lookup dnslookup clienthost as dns OUTPUT clientip as ip 
| join managedBy 
    [| ldapsearch search="(&amp;amp;(objectClass=user))" 
    | rename distinguishedName AS managedBy, sAMAccountName AS managed_by_user 
    | table managedBy managed_by_user] 
| table ip,mac,nt_host,dns,owner,managed_by_user,priority,lat,long,city,country,bunit,category,pci_domain,is_expected,should_timesync,should_update,requires_av
| outputlookup ad_assets.csv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464869#M6904</guid>
      <dc:creator>stroud_bc</dc:creator>
      <dc:date>2020-09-30T04:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464870#M6905</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201317"&gt;@stroud_bc&lt;/a&gt; - depending on the version of ES you're running we optimized some of the merge code recently, but if any of the "key" fields match across rows we would squash that record into one by default. That said, we noticed some source lookup files were filling in "null" values with strings which caused inadvertant merges. Double check that any of the key fields (nt_host, ip, mac and dns) indeed have empty strings rather than placeholder values like "n/a", "none", etc.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:50:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464870#M6905</guid>
      <dc:creator>kchamplin_splun</dc:creator>
      <dc:date>2020-09-30T04:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464871#M6906</link>
      <description>&lt;P&gt;We seem to be having the same problem as OP. At first we though that the assets where merged due to the mac field being an empty string, and not actually NULL, but as far as I can get from your post this is intentional. Fields with no value in the asset list is supposed to have an empty string, and not NULL?&lt;/P&gt;

&lt;P&gt;If so, probably our problem is due to DHCP, and not empty strings.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 12:11:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464871#M6906</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2020-04-14T12:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464872#M6907</link>
      <description>&lt;P&gt;Hi. Sorry for the double post. Did you find any good solution to this problem? If I understand correctly from your example search above, you still include &lt;CODE&gt;ip&lt;/CODE&gt; in the result table, but the intention was to exclude IP?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 12:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464872#M6907</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2020-04-14T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464873#M6908</link>
      <description>&lt;P&gt;I think that in our case, the problem is that the IP field is populated from AD, not an actual DHCP server. It's just the AD server's internal DNS record for the AD hostname, and since these are DHCP IPs managed by another service, there are often &lt;EM&gt;duplicates&lt;/EM&gt;, and since &lt;CODE&gt;ip&lt;/CODE&gt; is a key field, the new behavior is for ES to indiscriminately combine records with the same key fields. My monster correlated host records came from this process repeating over and over for several months.&lt;/P&gt;

&lt;P&gt;I got a tip from someone at Splunk out of band that this &lt;EM&gt;might&lt;/EM&gt; get cleaned up in 6.1.1, so I have largely set the issue aside until we can upgrade.&lt;/P&gt;

&lt;P&gt;If it turns out this is just the new behavior for asset correlation, I'm just going to add some logic to the lookup generator search which uses ldapsearch to drop the ip field from any asset in a DHCP subnet. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 16:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464873#M6908</guid>
      <dc:creator>stroud_bc</dc:creator>
      <dc:date>2020-04-14T16:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464874#M6909</link>
      <description>&lt;P&gt;I believe in previous versions empty values were replaced with "unknown"? &lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 12:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464874#M6909</guid>
      <dc:creator>evelenke</dc:creator>
      <dc:date>2020-04-15T12:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464875#M6910</link>
      <description>&lt;P&gt;This sound very much like the issue we are experiencing as well. Thanks for the tip. I'll see if the asset lists improve after upgrading to 6.1.1. Fingers krossed!&lt;/P&gt;

&lt;P&gt;I would assume this is a problem a lot of people are having, especially now when so many work from home. Hopefully it will be addressed by Splunk soon.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 07:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464875#M6910</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2020-04-20T07:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Assets with overlapping DHCP Addresses Merging in ES 6</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464876#M6911</link>
      <description>&lt;P&gt;Actually, upgrading to Splunk ES 6.1.1 &lt;EM&gt;seems&lt;/EM&gt; to have solved the problem for us, at least partially. The huge multivalue asset rows in &lt;CODE&gt;asset_lookup_by_str&lt;/CODE&gt; are gone, but there still are some smaller multivalue rows. However, I suspect that these remaing rows are caused by something else than DHCP, but perhaps issues in the CMDB.&lt;/P&gt;

&lt;P&gt;Did upgrading to 6.1.1 work for you as well?&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 06:52:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/m-p/464876#M6911</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2020-05-04T06:52:47Z</dc:date>
    </item>
  </channel>
</rss>

