Install on HP-UX
The HP-UX version of Splunk comes in a tarball.
To install Splunk on an HP-UX system, expand the tarball into an appropriate directory using the
tar xvzf splunk_package_name.tgz
The default install directory is
splunk in the current working directory. To install into
/opt/splunk, use the following command:
tar xvzf splunk_package_name.tgz -C /opt
Important: When you install Splunk from a tarball on HP-UX:
- You must use GNU
tar. The system default
taron HP-UX will not successfully extract the splunk tarball. GNU
taris a pre-requisite. Alternatively, you can unpack the tarball on another platform.
- Splunk does not create the
splunkuser automatically. If you want Splunk to run as a specific user, you must create the user manually before installing.
- Ensure that the disk partition has enough space to hold the uncompressed volume of the data you plan to keep indexed.
Splunk can run as any user on the local system. If you run Splunk as a non-root user, make sure that Splunk has the appropriate permissions to read the inputs that you specify.
To start Splunk from the command line interface, run the following command from
$SPLUNK_HOME/bin directory (where $SPLUNK_HOME is the directory into which you installed Splunk):
By convention, this document uses:
$SPLUNK_HOMEto identify the path to your Splunk installation.
$SPLUNK_HOME/bin/to indicate the location of the command line interface.
Note: The HP-UX version of Splunk does not register itself to auto-start on reboot.
The first time you start Splunk after a new installation, you must accept the license agreement. To start Splunk and accept the license in one step:
$SPLUNK_HOME/bin/splunk start --accept-license
Note: There are two dashes before the
Launch Splunk Web and log in
After you start Splunk and accept the license agreement,1. In a browser window, access Splunk Web at
hostnameis the host machine.
portis the port you specified during the installation (the default port is 8000).
2. Splunk Web prompts you for login information (default, username
admin and password
changeme) before it launches. If you switch to Splunk Free, you will bypass this logon page in future sessions.
Now that you've installed Splunk, what comes next?
Manage your license
If you are performing a new installation of Splunk or switching from one license type to another, you must install or update your license.
To uninstall Splunk on HPUX, you must stop splunk, disable boot-start (if you configured it), and then delete the Splunk installation.
Note: The $SPLUNK_HOME variable refers to the directory where you installed Splunk.
1. Stop Splunk:
2. If you enabled boot-start, run the following command as root:
$SPLUNK_HOME/bin/splunk disable boot-start
3. Delete the Splunk installation directories:
rm -rf $SPLUNK_HOME
Other things you may want to delete:
- If you created any indexes and did not use the Splunk default path, you must delete those directories as well.
- If you created a user or group for running Splunk, you should also delete them.
Install on AIX
Install a license
This documentation applies to the following versions of Splunk® Enterprise: 4.3, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7