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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...