1

I have configured packetbeat to send data to logstash and I have setup a conf file in logstash; however, seems nothing is generated, can anyone advise me for how to collect network data with packetbeat and logstash?

input{
    beats{
    port => 5044
    }
}
output{
    stdout{codec=>rubydebug}
    elasticsearch{
        hosts => "localhost"
    }
}

Great Thanks in Advance.

Kennedy Kan
  • 273
  • 1
  • 7
  • 20

1 Answers1

0

Have you installed the beats input plugin . try this(non win) :

./bin/logstash-plugin install logstash-input-beats

check here also you may need to configure the output properly . https://www.elastic.co/guide/en/beats/packetbeat/current/config-packetbeat-logstash.html

rresol
  • 323
  • 4
  • 20