"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/docs/plugins/discovery-file.asciidoc" (29 Dec 2021, 620 Bytes) of package /linux/www/elasticsearch-6.8.23-src.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming AsciiDoc format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

File-Based Discovery Plugin

The functionality provided by the discovery-file plugin is now available in Elasticsearch without requiring a plugin. This plugin still exists to ensure backwards compatibility, but it will be removed in a future version.

On installation, this plugin creates a file at $ES_PATH_CONF/discovery-file/unicast_hosts.txt that comprises comments that describe how to use it. It is preferable not to install this plugin and instead to create this file, and its containing directory, using standard tools.


This plugin can be installed using the plugin manager:

sudo bin/elasticsearch-plugin install discovery-file

The plugin must be installed on every node in the cluster, and each node must be restarted after installation.

This plugin can be downloaded for offline install from {plugin_url}/discovery-file/discovery-file-{version}.zip.


The plugin can be removed with the following command:

sudo bin/elasticsearch-plugin remove discovery-file

The node must be stopped before removing the plugin.