esVersion.major

Deprecated manual override for the detected Elasticsearch/OpenSearch major version.

This parameter applies to omelasticsearch: Elasticsearch Output Module.

Name:

esVersion.major

Scope:

action

Type:

integer

Default:

action=0 (overridden when detection succeeds)

Required?:

no

Introduced:

at least 8.x, possibly earlier

Description

Warning

This parameter is deprecated as of rsyslog 8.2510.0. The module performs a best-effort probe at startup to discover the target platform (Elasticsearch or OpenSearch) and its version, and esVersion.major is automatically updated with the detected major version when the probe succeeds.

Changed in version 8.2510.0: Automatically overridden when startup platform detection succeeds.

This setting is only consulted when detection fails or when no servers are reachable during startup. Administrators may keep it configured as a fallback for air-gapped or permission-restricted environments, but future releases may remove the option entirely.

Action usage

action(type="omelasticsearch" esVersion.major="...")

See also

See also omelasticsearch: Elasticsearch Output Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.