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
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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...