Install the Splunk App for AWS on Splunk Enterprise
Download the app and the add-on
You can download both the Splunk app and add-on on for AWS on Splunkbase.
- Splunk App for AWS version 6.0.3.
- Splunk Add-on for Amazon Web Services version 4.5.0 or later. If you are migrating from an existing installation of the Splunk Add-on for AWS, you can upgrade the add-on in place. The new version of the add-on is backwards compatible with older versions. For more information, see Splunk Add-on for Amazon Web Services compatibility.
Install on a single instance
If your Splunk Enterprise deployment is a single instance, install both the app and the add-on to your single instance. You can use the Install app from file feature in the Manage Apps page in Splunk Web to install both packages, or install manually using the command line.
After you install the app and add-on, create indexes the app uses to report on preconfigured saved searches. For more information, see Create indexes and schedule saved searches for the Splunk App for AWS.
Install in a non-clustered distributed environment
If your Splunk Enterprise deployment is distributed and non-clustered, follow these steps.
- Install both the app and add-on to your search heads.
- Turn off add-on visibility on your search heads.
- Configure the search head tier to directly forward data to the indexer tier.
- Distribute the summary index configurations to the indexer.
- Install the add-on to a heavy forwarder.
Install the app and the add-on to your search heads
If you are installing to one or more independent search heads, follow your preferred method of deploying both the app and the add-on. You can:
- follow the Install app from file wizard on the Manage Apps screen in Splunk Web.
- install manually using the command line.
- use a deployment server to deploy the unconfigured packages to your search heads. Do not configure the app or add-on prior to deploying it.
Turn off visibility for the add-on on your search heads
After you have deployed the app and the add-on to your search heads, change the visibility setting for the add-on on each search head to make it not visible. This step helps prevent data duplication errors that can result from running inputs on your search heads instead of (or in addition to) on your data collection node.
- Go to Apps > Manage Apps.
- Find the Splunk Add-on for AWS, with the folder name
Splunk_TA_aws
, in the list, and click Edit properties. - Under Visible, click the radio button next to No.
- Click Save.
- Repeat these steps on all search heads.
Configure the search head tier to directly forward data to the indexer tier
1. Create a outputs.conf
file following the example below:
[indexAndForward] index = false # Turn off indexing on the search head [tcpout] defaultGroup = my_search_peers # Name of the search peer group forwardedindex.filter.disable = true indexAndForward = false [tcpout:my_search_peers] server=10.10.10.1:9997,10.10.10.2:9997,10.10.10.3:9997 # list of peers
2. Place the outputs.conf
file under $SPLUNK_HOME/etc/apps/splunk_app_aws/local
on the search head.
3. Restart the search head.
Create indexes and schedule saved searches for the Splunk App for AWS
Create indexes the app uses to report on preconfigured saved searches. For more information, see Create indexes and schedule saved searches for the Splunk App for AWS.
Install the add-on to heavy forwarders
Follow your preferred method of installing the Splunk Add-on for Amazon Web Services to one or more heavy forwarders. You can:
- follow the Install app from file wizard on the Manage Apps screen in Splunk Web.
- install manually using the command line.
- use a deployment server to deploy the unconfigured packages to your forwarders. Do not configure the app or add-on prior to deploying it.
Note: The add-on does not support universal forwarders or light forwarders because the configuration logic handled by the add-on requires Python. In addition, to configure AWS accounts in the add-on, you must do so using the add-on's configuration UI in Splunk Web rather than in the configuration files.
Install in a clustered distributed environment
To accelerate reporting, the Splunk App for AWS uses summary indexing that builds separate summary indexes on the search head. If you are deploying the Splunk App for AWS in a clustered environment, you need to distribute the summary index configuration bundle across all the clustered indexers and configure your individual or clustered search heads to directly forward data to the indexer tier so that data summary can be shared across all the search heads.
- Install the app and the add-on to your search head cluster.
- Turn off visibility for the add-on on your search heads.
- Configure the search head tier to directly forward data to the indexer tier.
- Distribute the summary index configuration bundle across clustered indexers.
- Install the add-on to heavy forwarders.
Install the app and the add-on to your search head cluster
Install the app and the add-on using the deployer. See Use the deployer to distribute apps and configuration updates in the Distributed Search manual in the Splunk Enterprise documentation.
To prepare the app and add-on for deployment in a search head cluster, some files must be removed to prevent validation errors on startup:
- On the deployer, remove the
eventgen.conf
file from the add-on folder:$SPLUNK_HOME/etc/shcluster/apps/Splunk_TA_aws/default
- On the deployer, remove the
inputs.conf
andinputs.conf.spec
file from the add-on folder:$SPLUNK_HOME/etc/shcluster/apps/Splunk_TA_aws/default
- On the deployer, remove all files in the folder
$SPLUNK_HOME/etc/shcluster/apps/Splunk_TA_aws/samples
.
Turn off visibility for the add-on on your search heads
To turn off visibility for the add-on, update the app.conf
.
- On the deployer, create an
app.conf
file in the folder$SPLUNK_HOME/etc/shcluster/apps/Splunk_TA_aws/local
. - Edit the
local/app.conf
file. - Turn off visibility using the
is_visible
setting. Example:
[ui] is_visible = false
Configure the search head tier to directly forward data to the indexer tier
1. Create a outputs.conf
file following the example below:
[indexAndForward] index = false # Turn off indexing on the search head [tcpout] defaultGroup = my_search_peers # Name of the search peer group forwardedindex.filter.disable = true indexAndForward = false [tcpout:my_search_peers] server=10.10.10.1:9997,10.10.10.2:9997,10.10.10.3:9997 # list of peers
2. If you use clustered search heads, place the outputs.conf
file under $SPLUNK_HOME/etc/shcluster/apps/splunk_app_aws/local
and run the splunk apply shcluster-bundle
command on the deployer to push the configuration bundle to peers.
If you use multiple independent search heads, place the outputs.conf
file under $SPLUNK_HOME/etc/apps/splunk_app_aws/local
on all the search heads.
3. Restart the search head instances.
Create indexes and schedule saved searches for the Splunk App for AWS
Create indexes the app uses to report on preconfigured saved searches. For more information, see Create indexes and schedule saved searches for the Splunk App for AWS.
Install the add-on to heavy forwarders
Follow your preferred method of deploying the Splunk Add-on for Amazon Web Services to one or more heavy forwarders. You can:
- follow the Install app from file wizard on the Manage Apps screen in Splunk Web.
- install manually using the command line.
- use a deployment server to deploy the unconfigured packages to your forwarders. Do not configure the app or add-on prior to deploying it.
Note: The add-on does not support universal forwarders or light forwarders because the configuration logic handled by the add-on requires Python. In addition, to configure AWS accounts in the add-on, you must do so using the add-on's configuration UI in Splunk Web rather than in the configuration files.
Install the Splunk App for AWS on Splunk Cloud | Install the Splunk App for AWS on Splunk Light |
This documentation applies to the following versions of Splunk® App for AWS (Legacy): 6.0.2, 6.0.3
Feedback submitted, thanks!