Deployment Architecture

Searchhead cluster captain's /opt/splunk/var/run/file.bundle still has the csv even though file was added in replicatio

lim2
Communicator

Search head cluster captain's /opt/splunk/var/run/file.bundle still has the csv even though file was added in the /opt/splunk/etc/system/local/distsearch.conf's [replicationBlacklist].

$SPLUNK_HOME/bin/splunk btool distsearch list --debug
showing the csv file in the [replicationBlacklist] list but the csv file still in the latest bundle on the SH captain? Could this a bug for Splunk 8.2.4 (build 87e2dda940d1) when the number of entries in [replicationBlacklist] exceeds a number? in this case there are entries from blacklist_lookups_1 to blacklist_lookups_79.
Thanks in advance for inputs.
Labels (1)
Tags (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Hi

as you have a search head cluster, you should add a separate app on deployer where you define this value. Then just apply this bundle to shc. That way you have correct setting on all SHC nodes and captain will manage needed restarts. 
r. Ismo

View solution in original post

isoutamo
SplunkTrust
SplunkTrust

Hi

as you have a search head cluster, you should add a separate app on deployer where you define this value. Then just apply this bundle to shc. That way you have correct setting on all SHC nodes and captain will manage needed restarts. 
r. Ismo

richgalloway
SplunkTrust
SplunkTrust

Perhaps the replicationDenylist entry is incorrect.  Would you please share it and the name of the CSV file?

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

lim2
Communicator

Hi Rich,
in Splunk enterprise 8.2.4 it seems that one could still use (https://docs.splunk.com/Documentation/Splunk/8.2.4/DistSearch/Limittheknowledgebundlesize)
[replicationBlacklist]
blacklist_lookups_29 = apps/myapp/Monthly_Report_October.csv

Been looking at steps in https://community.splunk.com/t5/Splunk-Search/Large-lookup-caused-the-bundle-replication-to-fail-Wha... and https://community.splunk.com/t5/Splunk-Search/knowledge-bundle/m-p/510716#M177409

on the SH captain ran
tar -tvf /opt/splunk/var/run/78524745-C43A-45DC-8BFD-0B70A953F9C9-1668718172.bundle |sort -k 3 -rn|grep October.csv
still saw the following entry:
-rw------- splunk/splunk 123151739 2022-11-09 22:15 apps/myapp/lookups/Monthly_Report_October.csv
Strange right? Thanks.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I think you may have described the problem.


[replicationBlacklist]
blacklist_lookups_29 = apps/myapp/Monthly_Report_October.csv

tar -tvf /opt/splunk/var/run/78524745-C43A-45DC-8BFD-0B70A953F9C9-1668718172.bundle |sort -k 3 -rn|grep October.csv
still saw the following entry:
-rw------- splunk/splunk 123151739 2022-11-09 22:15 apps/myapp/lookups/Monthly_Report_October.csv

The blacklisted file path does not match that in the bundle.

Try 

 

[replicationBlacklist]
blacklist_lookups_29 = apps/myapp/lookups/Monthly_Report_October.csv

 

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

lim2
Communicator

Thanks for replies Rich. Double checked the path which I updated for this question and missed 1 section of the path. Issue got resolved. Bests.

Get Updates on the Splunk Community!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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