Splunk® Enterprise

Installation Manual

Download manual as PDF

Download topic as PDF

Install on Mac OS X

You can install Splunk Enterprise on Mac OS X with a DMG package or a tar file.

To install the Splunk universal forwarder, see Install a *nix universal forwarder in the Universal Forwarder manual. The universal forwarder is a separate executable, with its own set of installation procedures.

Upgrading?

If you are upgrading, review "How to upgrade Splunk Enterprise" for instructions and migration considerations before proceeding.

Installation options

The Mac OS installation package comes in two forms: a DMG package and a tar file.

If you require two installations in different locations on the same host, use the tar file. The DMG installer cannot install a second instance. If one exists, it removes that instance upon successful install of the second.

Graphical installation

  1. Double-click on the DMG file. A Finder window containing splunk.pkg opens.
  2. In the Finder window, double-click on splunk.pkg. The installer opens and displays the Introduction, which lists version and copyright information.
  3. Click Continue. The Select a Destination window opens.
  4. Choose a location to install Splunk Enterprise.
    • To install in the default directory, /Applications/splunk, click on the harddrive icon.
    • To select a different location, click Choose Folder...
  5. Click Continue. The pre-installation summary displays. If you need to make changes:
    • Click Change Install Location to choose a new folder, or
    • Click Back to go back a step.
  6. Click Install. The installation begins. It might take a few minutes to complete.
  7. When your install completes, click Finish. The installer places a shortcut on the Desktop.

Command line installation

To install Splunk Enterprise on Mac OS X from the command line, you must use the root user, or elevate privileges using the sudo command. If you use sudo, your account must be an Administrator-level account.

  1. To mount the DMG file, run:
    sudo hdid splunk_package_name.dmg
    

    The Finder mounts the disk image onto the desktop. The image is available under /Volumes/SplunkForwarder <version> (note the space).

  2. To Install the software:
    • To the root volume:
    cd /Volumes/SplunkForwarder\ <version>
    sudo installer -pkg .payload/splunk.pkg -target /
    

    Note: There is a space in the disk image name. Use a backslash to escape the space or wrap the disk image name in quotes.

    • To a different disk of partition:
    cd /Volumes/SplunkForwarder\ <version>
    sudo installer -pkg .payload/splunk.pkg -target /Volumes\ Disk
    

    Note: There is a space in the disk image name. Use a backslash to escape the space or wrap the disk image name in quotes.

    -target specifies a target volume, such as another disk, where Splunk will be installed in /Applications/splunk.

To install into a directory other than /Applications/splunk on any volume, see the graphical installation instructions.

tar file install

The tar file is a manual form of installation. When you install Splunk Enterprise with a tar file:

  • Splunk Enterprise does not create the splunk user automatically. If you want it 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.

To install Splunk Enterprise on Mac OS X, expand the tar file into an appropriate directory using the tar command:

tar xvzf splunk_package_name.tgz

The default install directory is splunk in the current working directory. To install into /Applications/splunk, use the following command:

tar xvzf splunk_package_name.tgz -C /Applications

Next steps

Now that you have installed Splunk Enterprise:

Uninstall Splunk Enterprise

To learn how to uninstall Splunk Enterprise, see Uninstall Splunk Enterprise in this manual.

PREVIOUS
Install on Solaris
  NEXT
Install the universal forwarder on FreeBSD

This documentation applies to the following versions of Splunk® Enterprise: 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.5.0, 6.5.1, 6.5.1612 (Splunk Cloud only), 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.6.0, 6.6.1, 6.6.2


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters