Skip to content

Instantly share code, notes, and snippets.

@piavlo
Created July 11, 2013 23:09
Show Gist options
  • Save piavlo/5980134 to your computer and use it in GitHub Desktop.
Save piavlo/5980134 to your computer and use it in GitHub Desktop.
cluster:
name: logstash-production
routing.allocation.awareness:
attributes: aws_availability_zone
force.aws_availability_zone.values: eu-west-1a,eu-west-1b
node:
name: somename
master: true
data: true
cloud:
aws:
access_key: xxxxxxxxxxxxxxx
secret_key: yyyyyyyyyyyyyyyyyyyyyyyyyyyy
region: eu-west-1
node:
auto_attributes: true
discovery:
type: ec2
ec2:
groups: logstash-elasticsearch
host_type: private_ip
availability_zones: eu-west-1a,eu-west-1b
any_group: false
ping_timeout: 10s
tag:
stage: production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment