Prior to 5.0 all watcher specific settings were prefixed with
have been changed to start with
xpack.watcher now, For example
The setting to allow scripting only for watcher has been renamed from
All account specific SMTP timeouts (
smtp.write_timeout) now require a time value instead of a number, that
represented milliseconds in earlier releases.
Watcher history now uses a versioned template. The index names also changed and
contain this version. So instead of
.watch_history_2016.02.03 the new index
1 being the current version. If are
also migrating from Shield (to X-Pack security).
this might require you to change roles/permissions because of the different index names!
The old index template named
watch_history can be deleted now. It will not
interfere with the newly added index template though.
The notification settings for pagerduty, slack, hipchat and email have been moved and renamed. The move
For example the slack configuration needs to move from
service part has been removed for all notification settings.
All watcher endpoints have been renamed from
You might need to fix this in your clients, monitoring scripts, potential HTTP proxies/redirectors
as well as in your watches.
The default scripting language in Elasticsearch has been changed to be painless. This applies for Watcher too, so when new scripts or updating existing scripts and no script language has been explicitly specified then the painless language will be used.
If in your watches you have scripts that don’t set the scripting language specifically then upon upgrading watcher
will set the language explicitly. By default the language will be set to groovy. If you your default language for scripts
is different than groovy then set the
script.legacy.default_lang setting before upgrading to what your default language
is now. This is important otherwise watches may not work after the upgrade and you need to update all your watches manually.