Skip to content

Instantly share code, notes, and snippets.

@stack72
Created August 28, 2014 09:43
Show Gist options
  • Save stack72/7a4ce16cb764d8c046b8 to your computer and use it in GitHub Desktop.
Save stack72/7a4ce16cb764d8c046b8 to your computer and use it in GitHub Desktop.
elasticsearch.yml
bootstrap:
mlockall: false
cluster:
name: centrallogs
discovery:
zen:
minimum_master_nodes: 2
ping:
multicast:
enabled: false
unicast:
hosts:
- vpc0-logging-es-balancer-04
- vpc0-logging-es-balancer-05
- vpc0-logging-es-balancer-06
http:
compression: true
port: 9200
index:
mapping:
ignore_malformed: true
number_of_replicas: 1
number_of_shards: 20
refresh_interval: 10s
search:
slowlog:
threshold:
fetch:
debug: 500ms
info: 800ms
trace: 200ms
warn: 1s
query:
debug: 2s
info: 5s
trace: 500ms
warn: 10s
indices:
fielddata:
cache:
expire: 1d
node:
data: false
master: true
name: vpc0-logging-es-balancer-04
tag: v2
path:
data: /var/ot/elasticsearch
logs: /var/log/elasticsearch
transport:
tcp:
port: 9300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment