Skip to content

elasticsearch

Whether to enable elasticsearch.

Type: boolean

Default:

false

Declared by:

Elasticsearch package to use.

Type: package

Default:

pkgs.elasticsearch7

Declared by:

Elasticsearch name that identifies your cluster for auto-discovery.

Type: string

Default:

"elasticsearch"

Declared by:

services.elasticsearch.extraCmdLineOptions

Section titled “services.elasticsearch.extraCmdLineOptions”

Extra command line options for the elasticsearch launcher.

Type: list of string

Default:

[ ]

Declared by:

Extra configuration for elasticsearch.

Type: string

Default:

""

Example:

''
node.name: "elasticsearch"
node.master: true
node.data: false
''

Declared by:

Extra command line options for Java.

Type: list of string

Default:

[ ]

Example:

[
"-Djava.net.preferIPv4Stack=true"
]

Declared by:

Elasticsearch listen address.

Type: string

Default:

"127.0.0.1"

Declared by:

Elasticsearch logging configuration.

Type: string

Default:

''
logger.action.name = org.elasticsearch.action
logger.action.level = info
appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n
rootLogger.level = info
rootLogger.appenderRef.console.ref = console
''

Declared by:

Extra elasticsearch plugins

Type: list of package

Default:

[ ]

Example:

[ pkgs.elasticsearchPlugins.discovery-ec2 ]

Declared by:

Elasticsearch port to listen for HTTP traffic.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

9200

Declared by:

Start a single-node cluster

Type: boolean

Default:

true

Declared by:

Elasticsearch port for the node to node communication.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

9300

Declared by: