Splunk Cloud Platform

Replication Bundle

sol69
Explorer

How do I fix replication bundle on Splunk Cloud SH?

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

You won't find search bundles on your HFs.  They're passed from SH to indexers.

Run this search to find out how big your lookup files are.  Make sure none are growing unexpectedly.  Trim the ones you can.  Consider adding the ones that don't need to be on the indexers to your deny list.

index=_audit host=sh* isdir=0 size lookups (action=update OR action=created OR action=modified OR action=add) NOT action=search
| stats latest(eval(size/1024/1024)) as size_mb latest(_time) as _time by path
| rex field=path "users\/(?<user>.*?)\/"
| rex field=path "\/apps\/(?<app>.*?)"
| fields _time path size_mb app file
| sort 0 - size_mb
---
If this reply helps you, Karma would be appreciated.

View solution in original post

sol69
Explorer

The current bundle directory contains a large lookup file that might cause bundle replication fail. The path to the directory is /opt/splunk/var/run/sh-i-***********.splunlcloud.com-17*********.bundle. It's a cloud environment. Checked the HF and found nothing on the path to tar. There's seems nothing on the community for cloud environment. Found some solution for on prem. Thanks for your help

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You won't find search bundles on your HFs.  They're passed from SH to indexers.

Run this search to find out how big your lookup files are.  Make sure none are growing unexpectedly.  Trim the ones you can.  Consider adding the ones that don't need to be on the indexers to your deny list.

index=_audit host=sh* isdir=0 size lookups (action=update OR action=created OR action=modified OR action=add) NOT action=search
| stats latest(eval(size/1024/1024)) as size_mb latest(_time) as _time by path
| rex field=path "users\/(?<user>.*?)\/"
| rex field=path "\/apps\/(?<app>.*?)"
| fields _time path size_mb app file
| sort 0 - size_mb
---
If this reply helps you, Karma would be appreciated.

sol69
Explorer

Thanks for the search, is there an spl to trim or archive it?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Once you find the big lookup files, use admin commands/UI to delete them.  Or use the Lookup File Editor to modify them.  You also can upload an app containing a distsearch.conf file to put a file on the deny list.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

It depends on what's wrong with it.  Tell us more or contact Splunk Support.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...