Deployment Architecture

Can you help us with understand how Splunk manages bundles?

a212830
Champion

Hi,

Our Splunk system was down this morning, and we noticed that the issue was that lots of bundles were being generated and kept on the search-heads (the problem was not due to overly large bundles). We also had two indexer problem, one where /opt/splunk/var was running out of space and another that was unreachable due to network issues.

I have some questions on how Splunk manages bundles:

1) What happens if a search-peer is down/unreachable? Will splunk try to keep sending the bundle? Will it keep a copy of that bundle until it can send it?

2) Is there a way to limit how many bundles the search-heads keep?
3) Is there a way to limit the size of the bundles?

4) Is there a way to limit how often bundles get created? Are there any cons to limiting how often they get created?

1 Solution

DavidHourani
Super Champion

Hi There,

1) What happens if a search-peer is down/unreachable? Will splunk try to keep sending the bundle? Will it keep a copy of that bundle until it can send it?
Doesn't keep trying the send the bundle, only sends it when you run a search and peer requires bundle, in that case it's sent to all active peers. More info here : http://docs.splunk.com/Documentation/Splunk/7.2.0/DistSearch/Whatsearchheadssend
2) Is there a way to limit how many bundles the search-heads keep?
No.
3) Is there a way to limit the size of the bundles?
Yes, you can do that by limiting the number of files included in the bundle. More info here:
http://docs.splunk.com/Documentation/Splunk/7.2.0/DistSearch/Limittheknowledgebundlesize
4) Is there a way to limit how often bundles get created? Are there any cons to limiting how often they get created?
No.
Have a look at this answer too, could be helpful : https://answers.splunk.com/answers/458837/how-do-bundles-work.html
And this conf talk : https://conf.splunk.com/files/2017/slides/pushing-configuration-bundles-in-an-indexer-cluster.pdf

Cheers,
David

View solution in original post

DavidHourani
Super Champion

Hi There,

1) What happens if a search-peer is down/unreachable? Will splunk try to keep sending the bundle? Will it keep a copy of that bundle until it can send it?
Doesn't keep trying the send the bundle, only sends it when you run a search and peer requires bundle, in that case it's sent to all active peers. More info here : http://docs.splunk.com/Documentation/Splunk/7.2.0/DistSearch/Whatsearchheadssend
2) Is there a way to limit how many bundles the search-heads keep?
No.
3) Is there a way to limit the size of the bundles?
Yes, you can do that by limiting the number of files included in the bundle. More info here:
http://docs.splunk.com/Documentation/Splunk/7.2.0/DistSearch/Limittheknowledgebundlesize
4) Is there a way to limit how often bundles get created? Are there any cons to limiting how often they get created?
No.
Have a look at this answer too, could be helpful : https://answers.splunk.com/answers/458837/how-do-bundles-work.html
And this conf talk : https://conf.splunk.com/files/2017/slides/pushing-configuration-bundles-in-an-indexer-cluster.pdf

Cheers,
David

bkirk
Path Finder

I think we had this same problem. Please check this thread out it seemed to help us:

https://answers.splunk.com/answers/151428/how-to-prevent-internal-splunk-audit-logs-from-being-writt...

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...