cluster.name: bigdata
node.name: server3
node.master:
false
node.data:
true
node.master:
true
node.data:
false
node.master:
false
node.data:
false
index.number_of_shards: 5
index.number_of_replicas: 1
index.refresh_interval: 120s
path.data:
/home/elk/server3_data
path.logs:
/var/log/elasticsearch
path.work:
/path/to/work
bootstrap.mlockall:
true
indices.fielddata.cache.size: 50mb
indices.breaker.fielddata.limit 默认值是JVM堆内存的60%,注意为了让设置正常生效,一定要确保 indices.breaker.fielddata.limit 的值
大于 indices.fielddata.cache.size 的值。否则的话,fielddata 大小一到 limit 阈值就报错,就永远道不了 size 阈值,无法触发对旧数据的交换任务了。
network.bind_host: 192.168.0.1
network.publish_host: 192.168.0.1
network.host: 192.168.0.1
transport.tcp.port: 9300
transport.tcp.compress:
true
http.port: 9200
http.max_content_length: 100mb
index.translog.flush_threshold_ops: 50000
discovery.zen.minimum_master_nodes: 1
discovery.zen.
ping
.timeout: 200s
discovery.zen.fd.ping_timeout: 200s
discovery.zen.fd.
ping
.interval: 30s
discovery.zen.fd.
ping
.retries: 6
discovery.zen.
ping
.unicast.hosts: [
"10.10.1.244:9300"
,]
discovery.zen.
ping
.multicast.enabled:
false
indices.store.throttle.
type
: merge
indices.store.throttle.max_bytes_per_sec: 100mb