Skip to content

Instantly share code, notes, and snippets.

@wryfi
Last active February 3, 2016 22:45
Show Gist options
  • Save wryfi/1ad0acff745c2f10be6d to your computer and use it in GitHub Desktop.
Save wryfi/1ad0acff745c2f10be6d to your computer and use it in GitHub Desktop.
output {
if "metric" not in [tags] {
elasticsearch {
hosts => ['elasticsearch-101', 'elasticsearch-102', 'elasticsearch-103', 'elasticsearch-104']
user => "logstash"
password => "**********************"
cacert => "/usr/local/share/ca-certificates/ca.crt"
ssl => true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment