# How to config Logstash receive and pars logs from port and file path at the same time

**URL:** <https://discuss.elastic.co/t/how-to-config-logstash-receive-and-pars-logs-from-port-and-file-path-at-the-same-time/266112>\
**Category:** Logstash\
**Created:** [March 3, 2021, 1:00pm UTC](https://discuss.elastic.co/t/how-to-config-logstash-receive-and-pars-logs-from-port-and-file-path-at-the-same-time/266112 "2021-03-03T13:00:47Z")\
**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 3, 2021, 1:00pm UTC](https://discuss.elastic.co/t/how-to-config-logstash-receive-and-pars-logs-from-port-and-file-path-at-the-same-time/266112/1 "2021-03-03T13:00:47Z")

</div>

Hi  
I've been configured my Logstash input to read logs for two of my network devices from "/var/log" path file and it was working correctly but when i installed netflow plugin on logstash it started not reading the path file logs.

How can i configure it to read received log from file path and at the same time on port for parsing netflow?

---

<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:** [March 31, 2021, 1:00pm UTC](https://discuss.elastic.co/t/how-to-config-logstash-receive-and-pars-logs-from-port-and-file-path-at-the-same-time/266112/2 "2021-03-31T13:00:55Z")

</div>

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