This documentation applies to the following versions of Splunk: 4.0 , 4.0.1 , 4.0.2 , 4.0.3 , 4.0.4 , 4.0.5 , 4.0.6 , 4.0.7 , 4.0.8 , 4.0.9 , 4.0.10
Remove all the user data (user accounts) from your Splunk installation by typing ./splunk clean followed by the userdata argument. This deletes all the user accounts other than the default user accounts included with Splunk (admin, power, user).
Caution: Removing user data is irreversible; if you accidentally delete user data, you must re-add the accounts manually.
To remove all of the user accounts in the system:
./splunk clean userdata
To remove the user accounts in the system and force Splunk to skip the confirmation prompt:
./splunk clean userdata -f