Skip to content

Instantly share code, notes, and snippets.

@kevinw
Created October 25, 2013 22:04
Show Gist options
  • Save kevinw/7162528 to your computer and use it in GitHub Desktop.
Save kevinw/7162528 to your computer and use it in GitHub Desktop.
input {
udp {
port => 5959
codec => "json"
}
generator {
count => 0
debug => true
lines => [ "line 1", "line 2", "line 3" ]
}
}
output {
elasticsearch { host => "XXX" cluster => "logstash" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment