Elasticsearch Upgrade: 7.1 to 7.9

Query Changes

  • Changes to Encoding Plus Signs in URLs (7.4)
    • Starting in version 7.4, a + in a URL will be encoded as %2B by all REST API functionality. Prior versions handled a + as a single space. If your application requires handling + as a single space
    • this may affect any Lucene queries used in our system


Mapping Changes

  • Validation for dynamic templates (7.7)
    • So far misconfiguration of dynamic templates have been discovered when indexing a document with an unmapped field only. In Elasticsearch 8.0 and later versions, dynamic mappings have stricter validation, done at mapping update time. Invalid updates, such as using incorrect analyzer settings or unknown field types, fail. For indices created in Elasticsearch 7.7 and later version, the update succeeds but emits a warning.
    • This may affect the mapping in grq and mozart's ElasticSearch

Logging Changes

  • Loggers under org.elasticsearch.action now log at INFO level by default (7.7)
    • The default log level for most loggers is INFO, but in earlier versions loggers in the org.elasticsearch.action.* hierarchy emitted log messages at DEBUG level by default. This sometimes resulted in a good deal of unnecessary log noise. From 7.7 onwards the default log level for logger in this hierarchy is now INFO

Kibana Changes

  • The kibana user has been deprecated in favor of the kibana_system user (7.8)
    • The kibana user was historically used to authenticate Kibana to Elasticsearch. The name of this user was confusing, and was often mistakenly used to login to Kibana. We’ve replaced the kibana user with the kibana_system user to reduce confusion and to better align with other built-in system accounts
  • Changes to built-in roles (7.8)
    • Users who were previously assigned the kibana_user role should instead be assigned the kibana_admin role. This role grants the same set of privileges as kibana_user, but has been renamed to better reflect its intended use
    • Assign users with the kibana_user role to the kibana_admin role. Discontinue use of the kibana_user role.



Note: JPL employees can also get answers to HySDS questions at Stack Overflow Enterprise: