Installation

Is there a removal tool to uninstall Splunk client?

Jason007
New Member

We have an environment of mixed client instances, is there a removal tool to uninstall the splunk client and remove any registry entries before installing the latest splunk client.

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Jason007,

If you haven't any issue on the past installation, there's no reason to uninstall a Splunk universal Forwarder before updating.

Instead it's better to maintain all the configuration of the old version.

but, if you want uninstall the packet, you can remove the packet using the Windows features or deleting the folder on Linux (in this case remember to stop the service before!).

Ciao.

Giuseppe 

isoutamo
SplunkTrust
SplunkTrust

Hi

as @gcusello said you shouldn’t uninstall old client first and then install anew one! The correct way is just update the old version over old. But you should follow the instructions which told from - to versions you must use. E.g you cannot update from 7.3 to 9.0.5, you must use some middle versions between those. One reason for that is local fishbucket db. This is keeping track for all inputs which you have on your client node. If you remove the installation, then you remove also that db and the result will be duplicated log entries as a new UF version start to collect all logs from beginning of files you have on that node.

r. Ismo

jbruns2023
Engager

You didn't answer the question.  Is there a clean off tool or not?

I have a situation where I need to uninstall 9.4.2 from windows 2016 and install 9.3.8 and get a 1603 from the 9.3.8 msi complaining about registry conflicts.

We have to use 9.3.8 and not latest 10.x because Cisco decided to stop supporting 2016 11 months before MS did/does and 9.3.8 is the release we need to resolve vulnerabilities that our scanning tool is barking about.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Windows should have a built-in tool to uninstall software.  There also are plenty of third-party tools to do so.  Splunk does not provide one.

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

jbruns2023
Engager

This is why most (apparently not this one) supply an exe that takes care of all pollution on the box.

0 Karma

jbruns2023
Engager

Then you would require MS to know the ins and outs of every vendors installer.  Never going to happen.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

We're going into very off-topic directory but from my experience while linux packages often contain pre/post-(un)install scripts, unless they are horribly broken like a specific vendor's software which I'm not gonna name explicitly here, they usually behave quite well. The package manager tracks files which are getting installed, the scripts handle config entries pretty well (again - usually). I think there are two main culprit in case of windows.

1) MSI "happened" when there were already a lot of different installation tools on the market (and still are). And Building MSI has never AFAIR been very straightforward, well docummented and easy (at least compared to tons of docs and tutorials on building debs or RPMs).

2) There is that ugly beast of windows registry you have to deal with. And it's a great PITA not only regarding software (un)installation.

0 Karma

jbruns2023
Engager

Hence the reason that most not all vendors supply a mop up process.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

I'm sorry but whenever I see "we need to install version X.X.X because our vulnerability scanner reports a finding" I die a little inside. Has anyone bothered to read and understand what the finding is about?

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