Getting Data In

Clean Forwarder fishbuckets for one sourcetype

robertlynch2020
Influencer
Hi - I have a command to clean fish buckets in a forwarder - if i want to take back in data for testing etc...
cd var/lib/splunk/
rm -r fishbucket/
bin/splunk stop; cd var/lib/splunk/ ; rm -r fishbucket/ ;cd - ; rm -r var/ ; bin/splunk start
But is there any way to clean fish buckets for only one source type?
Labels (1)
Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

https://community.splunk.com/t5/Getting-Data-In/How-to-reindex-data-from-a-forwarder/td-p/93310 and item "or selectivelly forgot a single file from the fishbucket" like

splunk cmd btprobe -d $SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db --file $FILE --reset

Before that you must stop Splunk on that node.

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...