# Configuring logstash for multiple input (port and log file path)

**URL:** <https://discuss.elastic.co/t/configuring-logstash-for-multiple-input-port-and-log-file-path/267140>\
**Category:** Logstash\
**Created:** [March 13, 2021, 6:03am UTC](https://discuss.elastic.co/t/configuring-logstash-for-multiple-input-port-and-log-file-path/267140 "2021-03-13T06:03:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asan](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@asan](https://discuss.elastic.co/u/asan)\
**Post date:** [March 13, 2021, 6:03am UTC](https://discuss.elastic.co/t/configuring-logstash-for-multiple-input-port-and-log-file-path/267140/1 "2021-03-13T06:03:13Z")

</div>

Hi  
I've Configured three of my network devices to write their logs in separated file in /var/log and also i configured my Logstash to read these file as input and it's working well and i could create index for them and i configured my cisco device to send its log in netflow format and i've installed netflow plugin for it and it started to work well but i figure out that my other index that was reading their input from /var/log stop working but as soon as is comment modules part in logsatsh.yml :  
#modules:

# - name: netflow

# var.input.udp.port: 2055

my other index start working again but my netflow index stop working and i don't know how to configure logstash to use path file and port as input at the same time. would you please help me in this case.  
thanks in advance

---

<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:** [April 10, 2021, 6:04am UTC](https://discuss.elastic.co/t/configuring-logstash-for-multiple-input-port-and-log-file-path/267140/2 "2021-04-10T06:04:10Z")

</div>

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