elasticsearch
Options
Section titled “Options”services.elasticsearch.enable
Section titled “services.elasticsearch.enable”Whether to enable elasticsearch.
Type: boolean
Default:
falseDeclared by:
services.elasticsearch.package
Section titled “services.elasticsearch.package”Elasticsearch package to use.
Type: package
Default:
pkgs.elasticsearch7Declared by:
services.elasticsearch.cluster_name
Section titled “services.elasticsearch.cluster_name”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:
services.elasticsearch.extraConf
Section titled “services.elasticsearch.extraConf”Extra configuration for elasticsearch.
Type: string
Default:
""Example:
'' node.name: "elasticsearch" node.master: true node.data: false''Declared by:
services.elasticsearch.extraJavaOptions
Section titled “services.elasticsearch.extraJavaOptions”Extra command line options for Java.
Type: list of string
Default:
[ ]Example:
[ "-Djava.net.preferIPv4Stack=true"]Declared by:
services.elasticsearch.listenAddress
Section titled “services.elasticsearch.listenAddress”Elasticsearch listen address.
Type: string
Default:
"127.0.0.1"Declared by:
services.elasticsearch.logging
Section titled “services.elasticsearch.logging”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:
services.elasticsearch.plugins
Section titled “services.elasticsearch.plugins”Extra elasticsearch plugins
Type: list of package
Default:
[ ]Example:
[ pkgs.elasticsearchPlugins.discovery-ec2 ]Declared by:
services.elasticsearch.port
Section titled “services.elasticsearch.port”Elasticsearch port to listen for HTTP traffic.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
9200Declared by:
services.elasticsearch.single_node
Section titled “services.elasticsearch.single_node”Start a single-node cluster
Type: boolean
Default:
trueDeclared by:
services.elasticsearch.tcp_port
Section titled “services.elasticsearch.tcp_port”Elasticsearch port for the node to node communication.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
9300Declared by:

