Created
July 16, 2012 07:25
-
-
Save anonymous/3121344 to your computer and use it in GitHub Desktop.
ES config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cluster.name: gcs1 | |
node: | |
name: es1-02 | |
data_center: ny4 | |
master: true | |
data: true | |
max_local_storage_nodes: 1 | |
gateway: | |
type: local | |
recover_after_nodes: 2 | |
recover_after_time: 2m | |
expected_nodes: 3 | |
discovery.zen: | |
ping: | |
# unicast.hosts: 10.2.101.151:9300,10.2.101.152:9300 | |
multicast.enabled: true | |
timeout: 5s | |
minimum_master_nodes: 2 | |
fd: | |
ping_interval: 2s | |
ping_timeout: 5s | |
ping_retries: 4 | |
cluster: | |
routing.allocation: | |
cluster_concurrent_rebalance: 10 | |
node_concurrent_recoveries: 20 | |
node_initial_primaries_recoveries: 30 | |
allow_rebalance: indices_all_active | |
awareness: | |
attributes: data_center | |
# force.data_center.values: ny,us-east-1 | |
indices.recovery.concurrent_streams: 5 | |
transport: | |
tcp.port: 9300 | |
tcp.compress: true | |
http: | |
enabled: true | |
port: 9200 | |
compression_level: 9 | |
# Force all memory to be locked, forcing JVM to never swap | |
# (make sure to set MIN and MAX mem to the same value) | |
#bootstrap.mlockall: true | |
path: | |
logs: /var/log/elasticsearch | |
data: /data/elasticsearch | |
# plugins: /data/elasticsearch/plugins | |
#################################### Plugin ################################### | |
# If a plugin listed here is not installed for current node, the node will not start. | |
# | |
# plugin.mandatory: mapper-attachments,lang-groovy | |
#JMX configuration | |
jmx: | |
domain: {elasticsearch} | |
create_connector: true | |
port: 9400 | |
index.search.slowlog: | |
level: TRACE | |
threshold.query: | |
warn: 10s | |
info: 3s | |
debug: 1s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment