Skip to content

Instantly share code, notes, and snippets.

@slb350
Created January 22, 2015 22:32
Show Gist options
  • Select an option

  • Save slb350/e18c6a039a1366e997fa to your computer and use it in GitHub Desktop.

Select an option

Save slb350/e18c6a039a1366e997fa to your computer and use it in GitHub Desktop.
######################### ElasticSearch Configuration ########################
# This file is managed by Chef, do not edit manually, your changes *will* be overwritten!
#
# Please see the source file for context and more information:
#
# https://github.com/elasticsearch/elasticsearch/blob/master/config/elasticsearch.yml
#
# To set configurations not exposed by this template, set the
# `node.elasticsearch[:custom_config]` attribute in your node configuration,
# `elasticsearch/settings` data bag, role/environment definition, etc:
#
# // ...
# 'threadpool.index.type' => 'fixed',
# 'threadpool.index.size' => '2'
# // ...
################################### Cluster ###################################
cluster.name: Production-Cluster
#################################### Node #####################################
node.name: london.localdomain
node.max_local_storage_nodes: 1
#################################### Index ####################################
index.number_of_shards: 10
index.number_of_replicas: 2
index.auto_expand_replicas: 2-all
index.mapper.dynamic: true
action.auto_create_index: true
action.disable_delete_all_indices: true
#################################### Paths ####################################
path.conf: /usr/local/etc/elasticsearch
path.data: /usr/local/var/data/elasticsearch
path.logs: /usr/local/var/log/elasticsearch
#################################### Plugin ###################################
plugin.mandatory: cloud-aws
################################### Memory ####################################
bootstrap.mlockall: true
############################## Network And HTTP ###############################
http.port: 9200
################################### Gateway ###################################
gateway.expected_nodes: 1
############################# Recovery Throttling #############################
################################## Discovery ##################################
discovery.type: ec2
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.multicast.enabled: true
cloud.node.auto_attributes: true
cloud.aws.region: us-west-2
################################## Slow Log ###################################
################################## GC Logging #################################
################################## JMX ########################################
################################## Custom #####################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment