Skip to content

Instantly share code, notes, and snippets.

@jedi4ever
Created February 7, 2012 09:30
Show Gist options
  • Save jedi4ever/1758690 to your computer and use it in GitHub Desktop.
Save jedi4ever/1758690 to your computer and use it in GitHub Desktop.
bind webui to cluster instead of specific address/host
# Change to <%= osUser %> user
# Elastich search connection string syntax - see https://logstash.jira.com/browse/LOGSTASH-134
exec setuidgid <%= osUser %> $JAVA_HOME/bin/java -Xmx<%= xmx %> -jar <%= installPrefix%>/logstash/logstash-monolithic.jar web --backend elasticsearch:///<%= esCluster %> -B <%= bindHost %>
@jedi4ever
Copy link
Author

Shipper: output config

output {
stdout { }

If your elasticsearch server is discoverable with multicast, use this:

#elasticsearch { }

If you can't discover using multicast, set the address explicitly

elasticsearch {
embedded => false
cluster => "<%= esCluster %>"
bind_host => "<%= bindHost %>"
#host => "logger-0"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment