cluster.name: 指定node所属的cluster。

node.name: 本机的hostname。

node.master: 是否可以被选举为master节点。(true or false)

node.data: 是否为data node。(true or false)

node.attr.box_type: node所属box类型。(hot or warm, 比如hot node用SSD磁盘,warm node用普通磁盘,然后把最近几天的数据存hot node,时间较长的数据存warm node)。

node.attr.datacenter: 指定node所属的DC。

network.host: 节点绑定的主机名或ip地址,并且会将改革节点通知集群中的其它节点。(default _local_)

script.engine.painless.inline.search: 是否支持painless脚本。plainless是elasticsearch支持的一种增删改查语言,比之groovy更高效安全。(true or false)

bootstrap.memory_lock: 是否锁住内存,避免交换(swapped)带来的性能损失。

bootstrap.system_call_filter: 是否支持过滤掉系统调用。elasticsearch 5.2以后引入的功能,在bootstrap的时候check是否支持seccomp。

thread_pool.bulk.queue_size: 设置响应bulk请求的queue的大小。

indices.memory.index_buffer_size: 新建索引在内存中的buffer。超过buffer size就会触发segment写磁盘。

indices.recovery.max_bytes_per_sec: index在恢复过程中每秒可占用的最大传输带宽。

indices.fielddata.cache.size: field data类型的数据加载到内存中可用的最大内存大小。field data常用语聚合,排序查询。

indices.breaker.fielddata.limit: field data断路器。在field data加载之前,预计算需要使用的堆内存的大小,如果超过这个设定值,断路器会被触发,从而保证不会OOM。

indices.breaker.request.limit: request断路器。预计算完成查询的其他部分(除了field data)需要的内存的大小。

indices.breaker.total.limit: 封装了field data和request两个断路器,确保这两个使用的总内存的大小。

cluster.routing.allocation.disk.threshold_enabled: 是否elasticsearch可以根据磁盘使用情况来决定是否继续分配shard。

cluster.routing.allocation.disk.watermark.low: 控制磁盘最小使用率,default 85%。es在磁盘使用率达到85%的时候将会停止分配新的shard。

cluster.routing.allocation.disk.watermark.high: 控制磁盘的最大使用率,default 90%。在磁盘使用率达到90%的时候es将会relocate shard去其他的节点。

cluster.routing.allocation.node_initial_primaries_recoveries: 初始化数据恢复时,单节点并发恢复线程的个数。

cluster.routing.allocation.node_concurrent_outgoing_recoveries: 单节点上可并发恢复的outgoing的shard数量。

cluster.routing.allocation.node_concurrent_incoming_recoveries: 单节点上可并发恢复的incoming的shard的数量。

action.search.shard_count.limit: 搜索的shard number限制,超过设置的number的query请求会被拒绝。

discovery.zen.minimum_master_nodes: 达到最小的master候选者个数后才能开始选master。

discovery.zen.ping.unicast.hosts:为了加入集群,一个节点至少需要知道集群中可以当选master的node的主机名或ip地址。这个设置提供eligible master的ip地址数组。

http.max_initial_line_length: http地址访问url的最大长度,默认为4kb。

http.max_content_length: http请求的最大内容大小。

xpack.security.transport.ssl.enabled:node之间进行transport请求是否需要SSL/TLS。

xpack.security.http.ssl.enabled:外部与es集群之间进行http请求是否需要SSL/TLS。

elasticsearch.yml 配置说明的更多相关文章

  1. ElasticSearch(八):elasticsearch.yml配置说明

    集群名称:cluster.name: my-application确保在不同的环境中的集群的名称不重复,否则,节点可能会连接到错误的集群上 节点名称:node.name: node-1默认情况下,当节 ...

  2. elasticsearch.yml基本配置说明

    一.基本配置 elasticsearch的config文件夹里面有两个配置文 件:elasticsearch.yml和logging.yml,第一个是es的基本配置文件,第二个是日志配置文件,es也是 ...

  3. elasticsearch按照配置时遇到的一些坑 [Failed to load settings from [elasticsearch.yml]]

    这里整理几个空格引起的问题. 版本是elasticsearch-2.3.0 或者elasticsearch-rtf-master Exception in thread "main" ...

  4. Exception in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: ElasticsearchParseException[malformed, expected end of settings but encountered additional conte

    D:\elasticsearch\elasticsearch-2.4.0\bin>elasticsearchException in thread "main" Settin ...

  5. elasticsearch.yml配置文件

        Elasticsearch的配置文件在config文件夹下,其中有elasticsearch.yml.logging.yml两个配置文件,其中elasticsearch.yml是用来配置Ela ...

  6. 配置文件elasticsearch.yml详解

    在es根目录下的config目录中有elasticsearch.yml配置文件,es加载使用的yml格式配置 17行:cluster.name: 自定义集群名称(强烈推荐默认名称elasticsear ...

  7. 【ElasticSearch】:elasticsearch.yml配置

    ElasticSearch5的elasticsearch.yml配置 注意 elasticsearch.yml中的配置,冒号和后面配置值之间有空格 cluster.name: my-applicati ...

  8. Elasticsearch.yml

    cluster.name: elasticsearch配置es的集群名称,默认是elasticsearch,es会自动发现在同一网段下的es,如果在同一网段下有多个集群,就可以用这个属性来区分不同的集 ...

  9. elasticsearch配置文件里的一些坑 [Failed to load settings from [elasticsearch.yml]]

    这里整理几个空格引起的问题. 版本是elasticsearch-2.3.0 或者elasticsearch-rtf-master Exception in thread "main" ...

随机推荐

  1. 头文件与cpp文件为什么要分开写

    最表面的机制是: 头文件是程序的界面(是代码界面),提供给程序员以  类.模版.函数等一系列的声明,让程序员知道应该怎么调用里面的"东西". 从动态链接库的角度看: 头文件提供界面 ...

  2. What Is the Linux Lokkit Utility? https://www.lifewire.com/what-is-lokkit-2192255

    lokkit: The Lokkit utility attempts to provide firewalling for the average Linux end user. Instead o ...

  3. What's the difference between jquery.js and jquery.min.js?

    They are both the same functionally but the .min one has all unnecessary characters removed in order ...

  4. ORACLE 创建视图索引序列

    /* 视图View 视图是从若干基本表和(或)其他视图构造出来的表 视图存放的都是查询语句,并没有真实的数据 虚表 作用 限制对数据的操作 复杂查询变简单 提供相同数据的不同显示 UNION ALL ...

  5. leetcode 395. Longest Substring with At Least K Repeating Characters

    Find the length of the longest substring T of a given string (consists of lowercase letters only) su ...

  6. YTU 2598: 编程题B-小平智斗自动售货机

    2598: 编程题B-小平智斗自动售货机 时间限制: 1 Sec  内存限制: 128 MB 提交: 268  解决: 69 题目描述 LYH自动售货机在销售商品时,具有自动找钱功能.但是找零的最小单 ...

  7. 【T^T 1736】【FJUTOJ 1077】排座位

    http://59.77.139.92/problem.php?id=1077 水题,小心PE // <1736.cpp> - 11/12/16 17:17:52 // This file ...

  8. 【SCOI 2003】 严格n元树

    [题目链接] 点击打开链接 [算法] f[i]表示深度小于等于i的严格n元树 显然,一棵深度小于等于i的严格n元树,就是一个根节点,下面有n棵子树,这n棵子树都是深度小于等于i-1的严格n元树,每棵子 ...

  9. AutoIT: ControlSetText

    1. ControlSetText :可以摆脱Send的限制,在适当的文本框位置输入用户想要输入的信息.2. ControlGetText可以获取文本 Run("notepad.exe&qu ...

  10. Linux网络协议栈(四)——链路层(2)

    2.协议相关2.1.第3层协议的管理在Linux内核中,有两种不同目的的3层协议:(1)    ptype_all管理的协议主要用于分析目的,它接收所有到达第3层协议的数据包.(2)    ptype ...