Training + Certification Discussions

How can I re-ingest the same file again in my test lab

daniel_splunk
Splunk Employee
Splunk Employee

I'm testing my props.conf and transforms.conf and would like to re-ingest the same file again during testing. Is this possible other than make a copy of the file and have crcSalt = added to the monitoring stanza.

Tags (1)
0 Karma

daniel_splunk
Splunk Employee
Splunk Employee

Support your testing file is /myfile/data01.txt, you can run below command to reset the fishbucket.

cd $SPLUNK_HOME/bin

./splunk cmd btprobe -d /opt/splunk/var/lib/splunk/fishbucket/splunk_private_db --file /myfile/data01.txt --reset

Using logging configuration at /opt/splunk/etc/log-cmdline.cfg.
key=0xf3ffc7213be15b3 scrc=0x134588c211c4071a sptr=93900 fcrc=0x11d1fafaa213433f flen=0 mdtm=1532932675 wrtm=1532932675
Record (key 0xf3ffc7213be15b3) reset.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...