Installation Manual

 


What to expect when migrating to 4.0

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

What to expect when migrating to 4.0

This topic discusses the various issues and considerations you should review before migrating to 4.0 from 3.4.x or earlier. You'll find information about aspects of your deployment that cannot be migrated automatically, some changes you will need to make manually, and other changes that the migration script will handle.

Note: If you're migrating from versions earlier than 3.4.x, please follow the documentation for that version to migrate to 3.4.x and then proceed from there. Migration to 4.x is only supported from 3.4.x.

Before you proceed with migration, you should also review the Known Issues for additional information.

Share your migration experiences

Did you migrate an existing Splunk installation to 4.x and run into some issues? What led to your success? Share your tips with other users on the Splunk Community Wiki "Migration experiences" page.

Considerations and support for users of Splunk 3.4.x

Splunk 4 is a huge stride forward in performance and flexibility, but there are a few interaction changes vs. 3.4.x which upgraders should be aware of, and even some reasons why you might want to wait for a future release before upgrading. Below are some capabilities that have changed with the introduction of Splunk 4:

Live tail

Custom field actions

Snapshots

Event scrolling

Timeline and timestamp interaction

Crawl

FIFO inputs

Persistent Queue

RSS alerts

Let us know when you're ready to migrate, and we'll be here to help.

Migrating your license

Splunk 4.x does not work with licenses from older releases.

Pre-seeding your license before first time run

Starting with 4.0.2, by default when you start Splunk for the first time, it moves aside any existing 3.x license and replaces it with a temporary Enterprise trial license. This allows you to bring up the new version of Splunk without having your license be expired until you get your new one copied in.

If you are migrating to Splunk 4.0.2 or later and have a valid 4.x license, you can pre-seed the license file so that it pulls in and installs your new license the first time you start Splunk 4. This is useful if you have to deploy multiple instances and don't want to have to manually copy the new license in after starting Splunk on each machine.

If you're making a deployable package, you can include the splunk-user.license file with your updated license in it before you tar/zip it up for deployment to other systems.

Which migration is right for you?

If you have not customized your 3.x deployment extensively, you may be able to use the automatic migration process described in either Migrate on Windows or Migrate on UNIX.

If you have customized your 3.x deployment to any degree, (in particular, if you have customized deployment.conf), you may have to consider migrating your deployment manually. In this case, follow the Steps for manual migration to Splunk 4.x.

What cannot be migrated

Splunk 4.x is significantly different from earlier versions. Some configuration files from your 3.x deployment can be copied over to your new 4.x install without any migration required. However, some aspects of your existing deployment cannot be migrated, and must be rebuilt; this is most relevant for 3.x deployments and configurations that have been extensively customized.

Splunk Web display customizations

All things to do with Splunk Web have been completely re-architected and rebuilt from the ground up. As a result, any customizations you've made that affect the display of Splunk Web cannot be migrated; you must rebuild them using the 4.x architecture and tools. These include:

Considerations for apps

In general, apps do not get migrated; you should re-architect your apps to follow the new 4.0 architecture. For more information about apps in 4.0, refer to the Developer Manual. For more guidance on migrating your apps, consult this topic on migrating your 3.x apps in the Developer Manual.

Not all Splunk 3.4.x apps will be immediately available for 4.0. New apps will be added to the Splunk App Store as they become available.

Splunk for Change Management has not yet been made available for Splunk 4, If you have this app, contact Support before upgrading, or consider installing a parallel instance of Splunk to maintain it.

Considerations for deployment server and forwarders

4.x deployment server is not backwards compatible with 3.x deployment clients.

If you use the Splunk deployment server, you must rebuild your deployment configuration using the new deployment server architecture in 4.x; it cannot be migrated. If you've made changes to deployment.conf in version 3.x, you should not copy it over into your new Splunk 4.x installation. Set it aside to use as a basis for building your new deployment server configuration.

In the meantime, if you have 3.4.x deployment server and clients and do not want to migrate all the clients at this time, you can use the instructions in this topic to configure a stripped-down 3.4.x deployment server to continue managing your deployment clients.

If you have 3.4.x forwarders, you can delay migrating them to 4.x; 3.4.x forwarders will work with a 4.x version of Splunk. This is especially useful for large forwarder deployments. You can wait until you are comfortable with your new deployment server configuration before migrating forwarders to 4.x.

In summary:

Considerations for distributed search

4.0.x distributed search is not backwards compatible with 3.x distributed search. In addition, the deployment server classes are not directly applicable to 4.x deployment server configuration. 4.x deployment servers use the concept of "apps" to push configuration to clients, as opposed to classes. Admins must build an application from their classes configuration to push to clients. It is recommended to do this first, before losing configuration parity at upgrade time, for clients running 4.x.

If you use distributed search, all your participating distributed search nodes will need to run Splunk 4.x in order to successfully communicate and return results.

Using a 4.0 or 4.0.1 Splunk deployment derver with 3.x deployment clients will crash the clients

This issue was resolved in 4.0.2.

To ensure your 4.x server doesn't contact your existing 3.x deployment clients, change the management port on the 4.x instance. Add the following to $SPLUNK_HOME/etc/system/local/web.conf to change it from the default 8089 port to 8090:

[settings]
mgmtHostPort = 127.0.0.1:8090

What you must migrate manually

Splunk 4.x differs significantly from version 3.x, and the migration script cannot convert the content of some configuration files. This section describes some of the changes that you must make manually.

Considerations for scheduled searches and alerts

Scheduled searches and alerts do not migrate automatically. In the 4.0 knowledge model, a search cannot execute outside of an app context. Thus, saved searches are considered part of the Search app; they are not global and viewable across all apps.

To migrate your saved searches:

1. Stop Splunk; execute the command:

$SPLUNK_HOME/bin/splunk stop

2. Move $SPLUNK_HOME/etc/system/local/savedsearches.conf to $SPLUNK_HOME/etc/apps/search/local/

3. Move any stanzas whose name starts with "savedsearches/" from $SPLUNK_HOME/etc/system/metadata/local.meta to $SPLUNK_HOME/etc/apps/search/metadata/local.meta

4. Start Splunk; execute the command:

$SPLUNK_HOME/bin/splunk start


Note: Scheduled searches will not run unless these 2 steps are completed.

Considerations for tags and aliases

Sourcetype renaming replaces "sourcetype aliasing" and isn't implemented by tags. For more information, see "About tags and aliases" in the Knowledge Manager manual. Saved searches that rely on aliased sourcetypes won't work without migration. For steps to migrate these saved searches, see migration concerns for scheduled searches and alerts.

Considerations for crawl.conf

The crawl.conf stanza [file_crawler] should be renamed [files]. This does not happen automatically.

No migration concerns for CLI

The command line interface, CLI, has been completely rewritten for Splunk 4.x. There are no known migration or backwards compatibility issues. Refer to release notes for the list of changes to the CLI, which include deprecated CLI command options and new functionality.

Changes made during automatic migration

During migration, many configuration files cannot simply be copied over. Splunk provides scripts for converting and migrating the content of these files so that they will function correctly in 4.x. You can run the migration preview utility to see what will be changed before you actually upgrade and migrate. The following is a list of some of the changes that take place during migration.

alert_actions.conf

This configuration file is migrated with savedsearches.conf.

indexes.conf

During migration, some attributes are added to indexes.conf while other local attributes are either removed or changed to global parameters. For more details about these parameters, refer to indexes.conf in the Admin manual.

The following attributes are no longer supported and have no effect:

The following global attributes are added with these defaults:

For high-volume indexes (such as main), the following defaults are used:

savedsearches.conf

During migration, form searches are disabled, a default global view state is set, and owner attributes are moved so that they follow the 4.0 roles and permissions model.

server.conf

During migration, the following attributes are moved from splunkd.xml to server.conf:

The following attributes, for the server certificate and key file and password, are renamed:

Windows specific conf files

During migration, Windows-specific files (regmon-filters.conf, sysmon.conf, and wmi.conf) and knowledge objects are moved out of default and into the Windows app architecture.

Conf files that are removed

During migration, the following conf files are removed:

Index data compatibility

Data indexed by version 3.x is completely compatible with 4.x and does not need to be re-indexed. However, note that it may have been indexed in a less efficient form, so searches performed over data that was originally indexed and migrated from 3.x may not be as fast as searches over newly-indexed 4.x data.

Click-through behavior on dashboards

Splunk 4.0 does not provide the ability to click a graph and see the underlying data. You can add this module to key searches for which you want to be able to click and see results.

This documentation applies to the following versions of Splunk: 4.0 , 4.0.1 , 4.0.2 , 4.0.3 , 4.0.4 , 4.0.5 , 4.0.6 , 4.0.7 , 4.0.8 , 4.0.9 , 4.0.10 , 4.0.11 View the Article History for its revisions.


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

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!