input {
    tcp {
    port => 5959
    codec => json
  }
}
output {
  elasticsearch {
    hosts => "localhost:9200"
  }
}
