Skip to content

Instantly share code, notes, and snippets.

@nandana
Last active August 29, 2015 14:25
Show Gist options
  • Save nandana/53baa0681cb532add690 to your computer and use it in GitHub Desktop.
Save nandana/53baa0681cb532add690 to your computer and use it in GitHub Desktop.
Logstash configuration for connecting to elasticsearch
input {
elasticsearch {
hosts => ["localhost"]
scan => false
query => '{ "query": { "match_all": {} }, "fields": ["property", "triple_count"] }'
index => "rindex"
type => "property"
}
}
output {
stdout {
codec => rubydebug
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment