<?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 Exceeding Field Limits, Source: [merge] in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/585490#M10620</link>
    <description>&lt;P&gt;I've found myself coming back to this problem, and still I cannot understand how to properly troubleshoot this health alarm from Splunk ES. I think one problem with using the lookup "asset_lookup_by_str" to find mv-fields that exceeds the limits is that the mv-fields are already truncated, so it's impossible to see which fields that was actually over the limit, and which fields was &lt;EM&gt;on&lt;/EM&gt; the limit but not over it. Also, out-of-the-box, some mv-fields has a limit of 25 and some has a limit of 6, so there are two different limits. I tried making a new search using the "entitymerge" command, but this also truncates the mv-fields, so I've gone back to looking at the&amp;nbsp;"asset_lookup_by_str", and looking for fields that are on the limit, indicating that before the merge they could &lt;EM&gt;possibly&lt;/EM&gt; have been over the limit.&lt;BR /&gt;&lt;BR /&gt;This is my new version of the search. For future reference, if someone needs it. I've also removed the asset fields, as I'm unsure if it actually has a limit or not, and is a cause for the alarm.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;| inputlookup asset_lookup_by_str&lt;BR /&gt;&lt;BR /&gt;| eval es_lookup_mv_limit_small=6&lt;BR /&gt;| eval es_lookup_mv_limit_big=25&lt;BR /&gt;&lt;BR /&gt;| foreach ip mac nt_host dns [eval count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=coalesce(mvcount(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;), 0), es_lookup_is_problem_small=mvappend(es_lookup_is_problem_small, if(count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; &amp;gt;= es_lookup_mv_limit_small, "yes - field &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; possibly has over ". es_lookup_mv_limit_small . " entries", null()))]&lt;BR /&gt;| foreach bunit category city country lat long owner pci_domain [eval count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=coalesce(mvcount(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;), 0), es_lookup_is_problem_big=mvappend(es_lookup_is_problem_big, if(count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; &amp;gt;= es_lookup_mv_limit_big, "yes - field &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; possibly has over ". es_lookup_mv_limit_big . " entries", null()))]&lt;BR /&gt;&lt;BR /&gt;| where isnotnull(es_lookup_is_problem_small) OR isnotnull(es_lookup_is_problem_big)&lt;BR /&gt;| eval es_lookup_is_problem=mvappend(es_lookup_is_problem_small,es_lookup_is_problem_big)&lt;BR /&gt;| fields - es_lookup_is_problem_small es_lookup_is_problem_big&lt;BR /&gt;| table es_lookup_*, count_*, *&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 08:25:19 GMT</pubDate>
    <dc:creator>hettervik</dc:creator>
    <dc:date>2022-02-17T08:25:19Z</dc:date>
    <item>
      <title>Assets Exceeding Field Limits, Source: [merge]</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/504177#M8932</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Been getting messages saying that some identities are exceeding the field limits. I've increased the limit on some of them, but I'm having difficulty finding the exact field that is causing this issue. Is there a way to find the exact instance where this limit is being exceeded?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Identity: 25 assets are currently exceeding the field limits set in the Asset and Identity Management page. Data truncation will occur unless the field limits are increased. Sources: [merge].&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 12 Jun 2020 15:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/504177#M8932</guid>
      <dc:creator>pizzor</dc:creator>
      <dc:date>2020-06-12T15:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Assets Exceeding Field Limits, Source: [merge]</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/505429#M8946</link>
      <description>&lt;P&gt;I'm getting the same error messages. Can't figure out what exactly is causing them. I've tried this search (and variations of it).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup asset_lookup_by_str | stats values(dns) dc(dns) as dc by ip | sort limit=0 -dc&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Also, I think that DHCP can cause troubles with the asset lists i Splunk ES.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out this thread as well:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/td-p/464869" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-with-overlapping-DHCP-Addresses-Merging-in-ES-6/td-p/464869&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you found any better solution than my search above?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 07:54:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/505429#M8946</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2020-06-22T07:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Assets Exceeding Field Limits, Source: [merge]</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/513631#M9121</link>
      <description>&lt;P&gt;Sorry for the late reply, I have actually, and completely forgot to post it. Someone referred me to a search that I pasted below. You may need to adjust the ..mv_limit it looks for according to what you have configured in ES. For us it turned out the cause was from load balances responding to our vulnerability scanner with the same MAC address, causing merges. I nulled out the MACs from my search that populated the corresponding lookup with the vuln scanner info and haven't had any merge issues since.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup asset_lookup_by_str | eval es_lookup_type="asset_lookup_by_str" | inputlookup append=t asset_lookup_by_cidr | eval es_lookup_type=coalesce(es_lookup_type, "asset_lookup_by_cidr") | inputlookup append=t identity_lookup_expanded | eval es_lookup_type=coalesce(es_lookup_type, "identity_lookup_expanded") 
| rename _* AS es_lookup_*

| eval es_lookup_mv_limit=25

| foreach asset ip mac nt_host dns identity [eval count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=coalesce(mvcount(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;), 0), es_lookup_is_problem=mvappend(es_lookup_is_problem, if(count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; &amp;gt;= es_lookup_mv_limit, "yes - field &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; has over ". es_lookup_mv_limit . " entries", null()))]
| where isnotnull(es_lookup_is_problem)
| table es_lookup_*, count_*, *&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 20:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/513631#M9121</guid>
      <dc:creator>pizzor</dc:creator>
      <dc:date>2020-08-11T20:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Assets Exceeding Field Limits, Source: [merge]</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/563504#M10204</link>
      <description>&lt;P&gt;Hey, Thanks.&amp;nbsp; I am able to adjust the query to find issue with merge faster...&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 17:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/563504#M10204</guid>
      <dc:creator>youngso</dc:creator>
      <dc:date>2021-08-16T17:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Assets Exceeding Field Limits, Source: [merge]</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/585490#M10620</link>
      <description>&lt;P&gt;I've found myself coming back to this problem, and still I cannot understand how to properly troubleshoot this health alarm from Splunk ES. I think one problem with using the lookup "asset_lookup_by_str" to find mv-fields that exceeds the limits is that the mv-fields are already truncated, so it's impossible to see which fields that was actually over the limit, and which fields was &lt;EM&gt;on&lt;/EM&gt; the limit but not over it. Also, out-of-the-box, some mv-fields has a limit of 25 and some has a limit of 6, so there are two different limits. I tried making a new search using the "entitymerge" command, but this also truncates the mv-fields, so I've gone back to looking at the&amp;nbsp;"asset_lookup_by_str", and looking for fields that are on the limit, indicating that before the merge they could &lt;EM&gt;possibly&lt;/EM&gt; have been over the limit.&lt;BR /&gt;&lt;BR /&gt;This is my new version of the search. For future reference, if someone needs it. I've also removed the asset fields, as I'm unsure if it actually has a limit or not, and is a cause for the alarm.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;| inputlookup asset_lookup_by_str&lt;BR /&gt;&lt;BR /&gt;| eval es_lookup_mv_limit_small=6&lt;BR /&gt;| eval es_lookup_mv_limit_big=25&lt;BR /&gt;&lt;BR /&gt;| foreach ip mac nt_host dns [eval count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=coalesce(mvcount(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;), 0), es_lookup_is_problem_small=mvappend(es_lookup_is_problem_small, if(count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; &amp;gt;= es_lookup_mv_limit_small, "yes - field &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; possibly has over ". es_lookup_mv_limit_small . " entries", null()))]&lt;BR /&gt;| foreach bunit category city country lat long owner pci_domain [eval count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=coalesce(mvcount(&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;), 0), es_lookup_is_problem_big=mvappend(es_lookup_is_problem_big, if(count_&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; &amp;gt;= es_lookup_mv_limit_big, "yes - field &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; possibly has over ". es_lookup_mv_limit_big . " entries", null()))]&lt;BR /&gt;&lt;BR /&gt;| where isnotnull(es_lookup_is_problem_small) OR isnotnull(es_lookup_is_problem_big)&lt;BR /&gt;| eval es_lookup_is_problem=mvappend(es_lookup_is_problem_small,es_lookup_is_problem_big)&lt;BR /&gt;| fields - es_lookup_is_problem_small es_lookup_is_problem_big&lt;BR /&gt;| table es_lookup_*, count_*, *&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 08:25:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Assets-Exceeding-Field-Limits-Source-merge/m-p/585490#M10620</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2022-02-17T08:25:19Z</dc:date>
    </item>
  </channel>
</rss>

