Upgrade the Splunk App for AWS
You have to prepare your Splunk App for AWS deployment before upgrading. Follow these steps to get your deployment ready to upgrade:
- Disable scheduled reports for saved searches for the app
- Move
indexes.conf
to thelocal
directory
See Do these things before you upgrade.
After you successfully upgrade from a previous version of the Splunk App for AWS to version 6.0.0, follow these steps:
- Delete the
$SPLUNK_HOME/etc/apps/splunk_app_aws/bin/utils
directory - Enable data model accelerations
- Update the
aws-data-model-acceleration
search macro definition - Schedule the
Addon Synchronization
andApp Upgrader
saved searches.
See Do these things after you upgrade.
When you upgrade from a previous version to the 6.0.0 version of the Splunk App for AWS, be aware of the following changes:
- This version of the app requires Splunk Add-on for AWS 4.5.0 or later. For more information, see For more information, see Splunk Add-on for Amazon Web Services compatibility.
- The Topology and EC2 Insights, and Insights Overview dashboards require the use of the Python for Scientific Computing libraries to be fully functional.
- Splunk Light and Splunk Cloud do not support the Recommendations Service feature and therefore do not require the Python for Scientific Computing app as a prerequisite.
Before you upgrade
Follow these steps before you upgrade.
- Disable scheduling for these saved searches:
Config: Topology Monthly Snapshot Generator
Config: Topology History Appender
Config: Topology Playback Appender
Config: Topology Daily Snapshot Generator
VPC Flow Logs Summary Generator (Dest Port, Dest IP, Src IP)
- In Splunk Web, go to Settings > Searches, reports, and alerts.
- For the App, select
splunk_app_aws
. - Click Edit and select Edit Schedule.
- Uncheck Schedule Report.
- Save the schedule and exit.
- Copy
indexes.conf
from$SPLUNK_HOME/etc/apps/splunk_app_aws/default
to$SPLUNK_HOME/etc/apps/splunk_app_aws/local
. If you're deploying the Splunk App for AWS in a distributed indexer cluster, copyindexes.conf
from$SPLUNK_HOME/etc/master-apps/splunk_app_aws/default
to$SPLUNK_HOME/etc/master-apps/splunk_app_aws/local
.
After you upgrade
Follow these steps after you upgrade.
- Delete the
$SPLUNK_HOME/etc/apps/splunk_app_aws/bin/utils
directory. If you're deploying the Splunk App for AWS in a distributed indexer cluster, delete the$SPLUNK_HOME/etc/master-apps/splunk_app_aws/bin/utils
directory. - Enable data model accelerations. By default, data model accelerations are disabled when you upgrade the app. For more information about accelerating data models, see Accelerate data models in the Knowledge Manager Manual.
- In Splunk Web, go to Settings > Data Models. Enable acceleration for every data model that belongs to the Splunk App for AWS.
- Click Edit and select Edit Acceleration.
- Select Accelerate and save the data model configuration.
- Update the definition for the
aws-data-model-acceleration
search macro. This configures the search macro to search only data that has already been accelerated, speeding up searches for dashboards and reports. - In Splunk Web, go to Settings > Advanced Search.
- Select Search macros.
- Select the
aws-data-model-acceleration
search macro. - Change the definition from
summariesonly=f
tosummariesonly=t
. - Save the search macro and exit.
- Schedule the
Addon Synchronization
andApp Upgrader
saved searches. - In Splunk Web, go to Settings > Searches, reports, and alerts.
- To find the saved searches easier, select the
Splunk App for AWS
from the App selector. - Run the
Addon Synchronization
andApp Upgrader
saved searches. - Configure schedules for the
Addon Synchronization
andApp Upgrader
saved searches. Click Edit under the Actions column and select Edit Schedule. - Enable Schedule Report.
- Specify a regular schedule to run each saved search. When you're done, Save and exit the saved search configuration.
Change the AWS Cost and Usage Report time interval from hourly to daily
Version 6.0.0 introduced the ability to collect AWS Cost and Usage Report (CUR) at an hourly or daily collection interval. Follow these steps to switch to a daily collection interval.
- Disable data collection for the hourly CUR in the Splunk Add-on for Amazon Web Services.
- Configure data collection for a daily CUR in the Splunk Add-on for Amazon Web Services.
- Update the Splunk App for AWS to version 6.0.0.
Use Python 3 with Splunk Enterprise
On January 1, 2020, the Python Software Foundation will no longer support Python version 2.x. Existing Python packages and tools will end support for Python 2, and new Python packages won't support Python 2. To maintain compatibility with the many third party projects that use Python, Splunk will migrate Splunk Enterprise, supported Premium Solutions, and supported Splunkbase apps and add-ons to Python 3.7 compatibility.
Splunk Enterprise version 8.0.0 supports the migration from Python 2 to Python 3 by including both the Python 2.7 and Python 3.7 runtimes. Splunk will remove the Python 2.7 runtime altogether in a future release. For more information about the Python 3 migration, see Python 3 migration with the Splunk platform.
To use Python 3, upgrade the Splunk App for AWS to version 6.0.0 before upgrading to Splunk Enterprise version 8.0.0 and enabling Python 3.
Configure dashboard warning messages and billing options | Troubleshoot the Splunk App for AWS |
This documentation applies to the following versions of Splunk® App for AWS (Legacy): 6.0.0
Feedback submitted, thanks!