Uninstall the Splunk Data Stream Processor
Once you uninstall the Splunk Data Stream Processor (DSP), you can perform a clean reinstallation. See Install the Data Stream Processor in this manual.
The following instructions assume that you have system administrator (root) permissions. If you do not have root permissions, you can use the sudo command to run the necessary scripts required to uninstall DSP.
Step 1: Remove (leave) all nodes from the cluster
To uninstall DSP, first remove all nodes from the cluster.
- From the working directory of a node, use the leave command. Repeat on each node.
./leave
- Once you only have one node left in your cluster, force the leave command to run.
./leave --force
Once the last node leaves the cluster, the uninstall process kicks off. You'll see the following output once complete.
Thu Jun 18 14:41:53 UTC Gravity has been successfully uninstalled
Depending on the state of your cluster, the uninstall process could take up to several hours to complete.
Step 2: Remove Gravity
After removing all nodes from the cluster, clean up the Gravity directory.
Run the following from the working directory:
rm -rf gravity/.gravity
After you've completed both steps, you can now perform a clean reinstallation of DSP.
Upgrade the Data Stream Processor | Secure the DSP cluster with SSL/TLS certificates |
This documentation applies to the following versions of Splunk® Data Stream Processor: 1.1.0, 1.2.0, 1.2.1-patch02, 1.2.1, 1.2.2-patch02, 1.2.4, 1.2.5, 1.3.0, 1.3.1
Feedback submitted, thanks!