Splunk Search

How to fix metadata error "5000000 entries have been received...and this search will not return metadata information for anymore entries."?

splunksurekha
Path Finder

Hi,

I have increased the maxcount value to 5000000, but still I am getting the error:

"Metadata results may be incomplete: 5000000 entries have been received from all peers (see parameter maxcount under the [metadata] stanza in limits.conf), and this search will not return metadata information for any more entries. (sid=rt_1427108700.117555)"

Please suggest a permanent fix for this issue.

Thanks
Surekha

Tags (2)
0 Karma

masonmorales
Influencer

Well, if you need complete metadata results, you need complete metadata results. What happens if you edit your limits.conf and change maxcount from 5000000 to 4294967296? It sounds to me like you just didn't increase the value enough.

0 Karma

aaronkorn
Splunk Employee
Splunk Employee

Update this metadata entry in $SPLUNK_HOME/etc/system/local/limits.conf to a higher value.

[metadata]
    maxresultrows = <integer>
     * the maximum number of results in a single chunk fetched by the metadata command
     * a smaller value will require less memory on the search head in setups with
       large number of peers and many metadata results, though, setting this too
       small will decrease the search performance
     * default is 10000
     * do not change unless instructed to do so by Splunk Support
    maxcount = <integer>
     * the total number of metadata search results returned by the search head;
       after the maxcount is reached, any addtional metadata results received from
       the search peers will be ignored (not returned)
     * a larger number incurs additional memory usage on the search head
     * default is 100000
0 Karma

splunksurekha
Path Finder

Hi,

So as many times it reaches the maximum value so many times we need to keep increasing the maxcounts value ?

Thanks
surekha

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...