Splunk® App for Windows Infrastructure

Deploy and Use the Splunk App for Windows Infrastructure

Download manual as PDF

This documentation does not apply to the most recent version of MSApp. Click here for the latest version.
Download topic as PDF

Install and configure a Splunk platform indexer

This topic discusses installing the basic building block of a Splunk App for Windows Infrastructure deployment: a Splunk platform indexer.

In this procedure, you will install the indexer and then configure it to receive data from other Splunk platform instances.

Install the indexer

To install an indexer:

  1. Prepare a host that meets or exceeds the Splunk platform system requirements. During preparations:
    • Write down the host name and IP address for the host.
    • Ensure that no firewall blocks any network traffic into the host.
  2. Download the Splunk platform software onto the machine.
  3. Install the correct version of the software for the operating system that the host runs.
  4. After installation, confirm that the Splunk platform software functions. At a minimum:

If everything checks out, configure the indexer to have the correct indexes for the Splunk App for Windows Infrastructure.

Configure indexes

The indexer must have the indexes for the Splunk App for Windows Infrastructure defined before you can begin indexing the data. The Splunk App for Windows Infrastructure installation package comes with a file that defines those indexes. Every indexer in a Splunk App for Windows Infrastructure environment needs this configuration file.

To get this file:

  1. In a web browser, proceed to the Splunk App for Windows Infrastructure download page.
  2. Click the download link to begin the download process.
    • Make sure you download the latest version of the app.
    • You might need to sign in with your Splunk account before the download starts.
  3. When prompted, choose an accessible location to save the download. Do not attempt to run the download.
  4. Use an archive utility such as WinZip to unarchive the file to the etc/apps/ directory in your Splunk platform deployment.
  5. In the unarchived etc/apps/splunk_app_windows_infrastructure directory in your Splunk platform deployment, create a /local/ directory.
  6. Define your indexes.
    1. Create a indexes.conf file in etc/apps/splunk_app_windows_infrastructure/local/.
    2. In indexes.conf, define the msad, perfmon, and wineventlog indexes.
    Example:
    [msad]
    homePath = $SPLUNK_DB/msad/db
    coldPath = $SPLUNK_DB/msad/colddb
    thawedPath = $SPLUNK_DB/msad/thaweddb
    maxDataSize = 10000
    maxHotBuckets = 10
    
    [perfmon]
    homePath = $SPLUNK_DB/perfmon/db
    coldPath = $SPLUNK_DB/perfmon/colddb
    thawedPath = $SPLUNK_DB/perfmon/thaweddb
    maxDataSize = 10000
    maxHotBuckets = 10
    
    [wineventlog]
    homePath = $SPLUNK_DB/wineventlog/db
    coldPath = $SPLUNK_DB/wineventlog/colddb
    thawedPath = $SPLUNK_DB/wineventlog/thaweddb
    maxDataSize = 10000
    maxHotBuckets = 10
    
  7. Restart your Splunk platform instance. From the same PowerShell window:
    > cd \Program Files\Splunk\bin
    > .\splunk restart
    

You can now configure the indexer to receive data from other Splunk instances.

Configure receiving

The Splunk App for Windows Infrastructure depends on an indexer that can receive data from other hosts. Without this capability, the app cannot function. You will now enable receiving on this indexer.

To configure the indexer to receive data from other Splunk platform instances:

  1. Log into Splunk Enterprise on the indexer.
  2. In the system bar, click Settings > Forwarding and Receiving. Your Splunk platform loads the "Forwarding and Receiving" page.
  3. Under "Receive Data" click Configure Receiving.
  4. Click New. Exch 31 setupfwdrecv.png
  5. In the Listen on this port field, enter the port number that you want your Splunk platform to listen on for incoming data from other Splunk instances. The conventional port number is 9997.
  6. Click Save. Splunk Enterprise saves the port number and enables receiving on the indexer.

Your indexer is now configured to receive data. Confirm the host name or IP address and port number of the indexer. You will need it for the next step of the setup process.

Before you proceed, read our documentation on apps. You will create a simple app in the next step.

PREVIOUS
How to deploy the Splunk App for Windows Infrastructure
  NEXT
Create the "send to indexer" app

This documentation applies to the following versions of Splunk® App for Windows Infrastructure: 1.4.1, 1.4.2, 1.4.3, 1.4.4


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