Skip to content

Instantly share code, notes, and snippets.

@bodgit
Last active August 29, 2015 13:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bodgit/10102642 to your computer and use it in GitHub Desktop.
Save bodgit/10102642 to your computer and use it in GitHub Desktop.
Elasticsearch configuration for EC2 cluster with remote tribe node
### MANAGED BY PUPPET ###
---
action:
auto_create_index: +logstash-*,-*
bootstrap:
mlockall: true
cloud:
aws:
access_key: abc123
region: ap-southeast-2
secret_key: itsasecret
node:
auto_attributes: true
cluster:
name: logstash
routing:
allocation:
awareness:
attributes: aws_availability_zone
discovery:
ec2:
groups: elasticsearch
host_type: public_dns
type: ec2
zen:
minimum_master_nodes: 2
ping:
multicast:
enabled: false
http:
enabled: true
network:
publish_host: _ec2:publicDns_
node:
data: false
master: true
name: es-master-XX
rest:
action:
multi:
allow_explicit_index: false
script:
disable_dynamic: true
### MANAGED BY PUPPET ###
---
#action:
# auto_create_index: +logstash-*,-*
bootstrap:
mlockall: true
#cluster:
# name: logstash
#discovery:
# zen:
# minimum_master_nodes: 2
# ping:
# multicast:
# enabled: false
http:
enabled: true
# type: com.sonian.elasticsearch.http.jetty.JettyHttpServerTransportModule
node:
data: false
master: false
name: es-tribe-XX
#rest:
# action:
# multi:
# allow_explicit_index: false
#script:
# disable_dynamic: true
#sonian:
# elasticsearch:
# http:
# jetty:
# config: jetty.xml,jetty-ssl.xml
# keystore_password: OBF:1v2j1uum1xtv1zej1zer1xtn1uvk1v1v
# ssl_port: 9443
tribe:
blocks:
metadata: true
sydney:
cluster:
name: logstash
discovery:
zen:
ping:
unicast:
hosts:
- 54.206.x.x
- 54.206.x.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment