Skip to content

Instantly share code, notes, and snippets.

@Alino
Created September 24, 2015 12:30
Show Gist options
  • Save Alino/e2eb1a522d67d614df8e to your computer and use it in GitHub Desktop.
Save Alino/e2eb1a522d67d614df8e to your computer and use it in GitHub Desktop.
input {
tcp { port => 9292 type=>"sample" }
}
filter {
json {
source => "message"
}
}
output {
elasticsearch {
host => "192.168.59.103"
port => "9200"
protocol => "http"
}
stdout {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment