Data Node Configuration Overrides
It is possible to add a separate configuration file including specific OpenSearch configuration properties and values that are not supported in the Data Node configuration file. This capability allows you to add additional OpenSearch-supported configurations to manage your Data Nodes.
Data Node Configuration File
The following property in the Data Node configuration file must be modified to enable configuration overrides, as seen in the section below. See Data Node Configuration Settings Reference for more information on this file.
-
opensearch_configuration_overrides_file
: This property defines the path to the file with configuration properties overriding default OpenSearch parameters. The required format is a Java properties file.
Create and Add Configuration Overrides
To use override configurations in your Graylog environment:
-
Create a Java configuration property file containing your desired parameters and their values listed in line-separated format. For example:
Copycluster.routing.allocation.disk.watermark.low = 80%
plugins.security.ssl.transport.enforce_hostname_verification = false -
Store this file in the same directory as the Data Node configuration file, listed at
/etc/graylog/datanode/datanode.conf
by default. For example:Copy/etc/graylog/datanode/overrideconfig.conf
-
In the Data Node configuration file, set the
opensearch_configuration_overrides_file
parameter to this path containing your override file:Copyopensearch_configuration_overrides_file = /etc/graylog/datanode/overrideconfig.conf
-
Restart the Data Node service to apply the configuration:
Copysudo systemctl restart graylog-datanode
Override Configuration Allowlist
The following OpenSearch configuration properties have been added to Graylog's allowlist and do will not trigger a system warning when applied to the Data Node's configuration.
Parameter | Description | OpenSearch Reference |
---|---|---|
cluster.routing.allocation.disk.watermark.*
|
Watermark settings | Cluster-level routing and allocation settings |
cluster.routing.allocation.awareness.*
|
Shard allocation awareness | Cluster-level routing and allocation settings |
node.attr.zone
|
Shard allocation awareness | Shard allocation awareness settings |
plugins.security.ssl.transport.enforce_hostname_verification
|
Hostname verification | |
index.codec
|
Index field compression | Index codecs |
Further Reading
Explore the following additional resources and recommended readings to expand your knowledge on related topics: