Getting Data In

No previous events when UF are installed

jonwick
Path Finder

Hi Splunkers,

When UFs are installed, I don't want them to send all the events which were generated prior to UF was installed.

I just want UF to start sending logs when it was installed.

Is there a way to conf this?

 

To be honest we need to reinstall UFs for some reason and don't want the reinstalled UF to resend the previous events

Labels (4)
1 Solution

richgalloway
SplunkTrust
SplunkTrust

If you reinstall the UF without uninstalling it then it will not re-index any data.

If you must delete the UF then be sure to preserve the fishbucket directory.

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Windows is quite happy to install new versions of Splunk UF without uninstalling the existing one.  I've not tried re-installing the same version.

To clear credentials, just remove the %SPLUNK_HOME%\etc\passwd file and restart the UF with a new user-seed file.  To clear configs, just delete the relevant .conf file(s) and restart the UF.

Preserving the fishbucket is very reliable.

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

richgalloway
SplunkTrust
SplunkTrust

If you reinstall the UF without uninstalling it then it will not re-index any data.

If you must delete the UF then be sure to preserve the fishbucket directory.

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

jonwick
Path Finder

Thanks for the reply @richgalloway ,

I doubt of Windows server will allow reinstall by not uninstalling the existing one, (reinstalling will clear credentials and confs right?? That is what I want to be specific)

If we preserve fishbucket and paste it again to the newly installed server how reliable it would be ?

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...