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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...