2 different udp sources in filebeat

Hi there,

I have data coming from 2 different Raspis and I would like to physically separate the traffic in 2 different UDP ports. I've configured filebeat.yml like so:

filebeat.inputs:

  • type: udp
    enabled: true
    max_message_size: 20KiB
    host: "0.0.0.0:8090"
    tags: ["Camera-cyberData"]

  • type: udp
    enabled: true
    max_message_size: 20KiB
    host: "0.0.0.0:8091"
    tags: ["Camera-physicalData"]

Problem is I'm only getting data from one of the ports (8090). I tried some troubleshooting, e.g. to disable 8090 part and let only the 8091 sending data but no data were received in Kibana. Also, when I configure both Raspis to send data to 8090 all data are received but I would like to avoid this overload. Am I doing something wrong? And how can I assign custom index names for 2 different udp inputs?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.