# 2 different udp sources in filebeat

**URL:** https://discuss.elastic.co/t/2-different-udp-sources-in-filebeat/207871
**Category:** Beats
**Tags:** filebeat
**Created:** [November 14, 2019, 11:17am UTC](https://discuss.elastic.co/t/2-different-udp-sources-in-filebeat/207871 "2019-11-14T11:17:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dimitris\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dimitris_s/32/50172_2.png) [@Dimitris\_S](https://discuss.elastic.co/u/Dimitris_S)
#### Post date: [November 14, 2019, 11:17am UTC](https://discuss.elastic.co/t/2-different-udp-sources-in-filebeat/207871/1 "2019-11-14T11:17:30Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 12, 2019, 11:17am UTC](https://discuss.elastic.co/t/2-different-udp-sources-in-filebeat/207871/2 "2019-12-12T11:17:31Z")

</div>

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