# Filebeat not reading .csv and .bad files from a particular location

**URL:** <https://discuss.elastic.co/t/filebeat-not-reading-csv-and-bad-files-from-a-particular-location/253091>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 23, 2020, 7:19am UTC](https://discuss.elastic.co/t/filebeat-not-reading-csv-and-bad-files-from-a-particular-location/253091 "2020-10-23T07:19:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavitra\_Poojary](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pavitra_poojary/32/77753_2.png) [@Pavitra\_Poojary](https://discuss.elastic.co/u/Pavitra_Poojary)\
**Post date:** [October 23, 2020, 7:19am UTC](https://discuss.elastic.co/t/filebeat-not-reading-csv-and-bad-files-from-a-particular-location/253091/1 "2020-10-23T07:19:11Z")

</div>

Hi ,

I am trying to read files from the below 2log paths.

```
#=========================== Filebeat inputs =============================

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.

- type: log

  # Change to true to enable this input configuration.
  enabled: true

  # Paths that should be crawled and fetched. Glob based paths.
  paths:
    - D:\Program Files\Informatica Cloud Secure Agent\apps\Data_Integration_Server\logs\*
    - D:\Program Files\Informatica Cloud Secured Agent\apps\Data_Integration_Server\data\error\*

```

Second log path has .bad files and .csv files.

Filebeat reads the data from first path(which has .log files) and sends it to ES, however it is not sending any logs from the second path.

Any help would be appreciated..Thank you.

---

<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:** [November 20, 2020, 9:19am UTC](https://discuss.elastic.co/t/filebeat-not-reading-csv-and-bad-files-from-a-particular-location/253091/2 "2020-11-20T09:19:13Z")

</div>

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