Unable to distribute to peer because replication was unsuccessful.
Troubleshooting:
1. The following error was observed:
Unable to distribute to peer because replication was unsuccessful.
ReplicationStatus: Failed - Failure info: failed_because_BUNDLE_SIZE_EXCEEDS_MAX_SIZE.
Verify connectivity to the search peer, that the search peer is up, and that adequate system resources are available. For more information, see the Troubleshooting Manual.
2. Run a search in Splunk; a zipped version of the search head's config is sent adequate to the indexers ($SPLUNKHOME/var/run/searchpeers on the indexer). The more often things change on your search head, the more often send an updated bundle.
That bundle includes lookup files from the search head. However, if a lookup is over a certain size, then Splunk will create an indexed version of the lookup. Once it downloads a bundle, it has to index the lookups because they're too large (which can be time-consuming).
Try to identify any lookups high in size. Determine excluding it from the bundle. Meaning, check if any of your searches actually need the lookup.
3. Error in splunkd:
WARN DistributedPeerManager - Unable to distribute to peer named xxxx at uri https://xxx.xxx.xxx:8089 because replication was unsuccessful. ReplicationStatus: Failed - Failure info: failed_because_BUNDLE_SIZE_EXCEEDS_MAX_SIZE.
Verify connectivity to the search peer, that the search peer is up, and that adequate system resources are available. See the Troubleshooting Manual for more information.
find /opt/splunk/etc -type f -size +300M -exec ls -lh {} \;
[replicationBlacklist] my_lookup = apps/search/lookups/my_lookup.csv
Modify the following parameter within Distsearch.conf on the SH to accommodate the large bundle size:
maxBundleSize = <integer> * The maximum bundle size, in megabytes, for which replication can occur. * If a bundle is larger than this value, bundle replication does not occur and Splunk logs an error message.
Even after making the above changes, the issue persisted as the bundle reported a considerable size.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |