Last active
August 29, 2015 14:25
-
-
Save nandana/53baa0681cb532add690 to your computer and use it in GitHub Desktop.
Logstash configuration for connecting to elasticsearch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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