# Filebeat input logs from file

**URL:** <https://discuss.elastic.co/t/filebeat-input-logs-from-file/171825>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 11, 2019, 6:37pm UTC](https://discuss.elastic.co/t/filebeat-input-logs-from-file/171825 "2019-03-11T18:37:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kharvey](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@kharvey](https://discuss.elastic.co/u/kharvey)\
**Post date:** [March 11, 2019, 6:37pm UTC](https://discuss.elastic.co/t/filebeat-input-logs-from-file/171825/1 "2019-03-11T18:37:49Z")

</div>

Filebeat version 6.6.1

Is it possible to use a file as my input for filebeat?  
I have an application that generates thousands of log files a day. This application generates an index log file that references all of the log files for a specific event. So it creates a hierarchical log file structure.

So for example I have an index file named Production\_run\_1.log that looks like this:

```auto
C:\Program Files\Production\Logs\9548-6872-4785-1328.metrics
C:\Program Files\Production\Logs\9548-6872-4785-1328.log
C:\Program Files\Production\Logs\9548-6872-4785-1328.dump
```

Each index file contains a couple dozen different logs. Is it possible for me to read that file and use it as the input for filebeat?

I also have several dozen of these index logs through the day for different production runs.

---

<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 8, 2019, 6:49pm UTC](https://discuss.elastic.co/t/filebeat-input-logs-from-file/171825/2 "2019-04-08T18:49:21Z")

</div>

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