Skip to content

Instantly share code, notes, and snippets.

@teebu
Created February 26, 2016 22:27
Show Gist options
  • Select an option

  • Save teebu/bbef766ac185d486eeb6 to your computer and use it in GitHub Desktop.

Select an option

Save teebu/bbef766ac185d486eeb6 to your computer and use it in GitHub Desktop.
bin/logstash -e '
input {
stdin { }
}
output {
elasticsearch {
hosts=>["localhost"]
index => "testing"
}
stdout {codec => rubydebug }
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment