Hi, I'm trying to grab a udp stream of double values (8 bytes) via udp input plugin of filebeat.
The connection is between two servers in the same subnet, there shouldn't be any issue.
I changed the filebeat.yml like this to keep the start as simple as possible:
filebeat.inputs:
type: udp
enabled: true
host: "10.10.112.20:7200"
When I start filebeat I get one error regarding the port. If I put in a port it is:
2020-10-19T11:35:20.982+0200 ERROR udp/input.go:106 Error running harvester: listen udp 10.10.112.20:7200: bind: cannot assign requested address
If not it is:
2020-10-19T11:27:23.899+0200 ERROR udp/input.go:106 Error running harvester: address 10.10.112.20: missing port in address
The second issue I have is understanding the periodically upcoming monitoring messages. The udp sender sends 100 double values a second and I wonder where in the message I would recognize if I received them or not:
2020-10-19T11:37:14.079+0200 INFO [monitoring] log/log.go:145 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":20,"time":{"ms":1}},"total":{"ticks":90,"time":{"ms":9},"value":90},"user":{"ticks":70,"time":{"ms":8}}},"handles":{"limit":{"hard":1048576,"soft":1024},"open":11},"info":{"ephemeral_id":"c103e98f-6c7c-4c53-80f1-8b549508e030","uptime":{"ms":90025}},"memstats":{"gc_next":9499200,"memory_alloc":7560920,"memory_total":16450560},"runtime":{"goroutines":55}},"filebeat":{"events":{"added":1,"done":1},"harvester":{"open_files":2,"running":2}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"acked":1,"batches":1,"total":1},"read":{"bytes":347},"write":{"bytes":2447}},"pipeline":{"clients":5,"events":{"active":0,"published":1,"total":1},"queue":{"acked":1}}},"registrar":{"states":{"current":11,"update":1},"writes":{"success":1,"total":1}},"system":{"load":{"1":0.1,"15":0.08,"5":0.08,"norm":{"1":0.0167,"15":0.0133,"5":0.0133}}}}}}
I couldn't find any tutorial or example to explain the output I receive.
Thanks in advance for your help!