Manually send json object to beats listener

Hi, I have a working beats listener configured in logstash, and a filebeats prospector shipping json data from a log file.

input {
  beats {
    port => 5047
    include_codec_tag => false
  }
}

I want to test arbitrary json object parsing by manually sending data to the beats listener for processing by logstash, however my attempts to use curl and nc fail with errors
Ncat: Connection reset by peer.
or
curl: (56) Recv failure: Connection reset by peer

Is there a way to manually send json data to the beats listener?

The beats input parses data in the lumberjack protocol. The easiest way to write data in that format is to have filebeat do it.

Thanks for responding and explaining the protocol beats uses. So its possible then to manually send data to the listener?

I would configure filebeat to read a file and then just append the JSON objects to the file.

While this works, I was hoping for a network based means, thanks for your help, this will have to do :slight_smile: