Skip to content

Instantly share code, notes, and snippets.

@rfay
Created July 23, 2013 21:10
Show Gist options
  • Save rfay/6066212 to your computer and use it in GitHub Desktop.
Save rfay/6066212 to your computer and use it in GitHub Desktop.
output {
stdout {
debug => true
}
elasticsearch {
cluster => "logstash"
}
}
Elasticsearch beginning of yml... everything else is commented out:
################################### Cluster ###################################
# Cluster name identifies your cluster for auto-discovery. If you're running
# multiple clusters on the same network, make sure you're using unique names.
#
cluster.name: logstash
#################################### Node #####################################
# Node names are generated dynamically on startup, so you're relieved
# from configuring them manually. You can tie this node to a specific name:
#
# node.name: "Franz Kafka"
node.name: "prod-util11-elasticsearch"
@rfay
Copy link
Author

rfay commented Jul 23, 2013

Here's what elasticsearch says about itself:

curl http://localhost:9200/_status?pretty=true
{
"ok" : true,
"_shards" : {
"total" : 0,
"successful" : 0,
"failed" : 0
},
"indices" : { }

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