# Filebeat with multiple input - log sources

**URL:** <https://discuss.elastic.co/t/filebeat-with-multiple-input-log-sources/293567>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 5, 2022, 5:19pm UTC](https://discuss.elastic.co/t/filebeat-with-multiple-input-log-sources/293567 "2022-01-05T17:19:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elie\_Sbat1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elie_sbat1/32/87812_2.png) [@Elie\_Sbat1](https://discuss.elastic.co/u/Elie_Sbat1)\
**Post date:** [January 5, 2022, 5:19pm UTC](https://discuss.elastic.co/t/filebeat-with-multiple-input-log-sources/293567/1 "2022-01-05T17:19:35Z")

</div>

Hello,

I am using filebeat 7.16 and I am trying to import multiple logs from different directories (.log and .csv). Also, I am trying to creat different index for each one of them. All of this must be done using one filebeat app installed on one desktop pc and running as a service.

Here below the config file:

filebeat.inputs:

- D:\barracuda\*.csv
- D:\BC\*.log

index: "so-barracuda-%{[agent.version]}-%{+yyyy.MM.dd}"  
pipeline: "barracuda"  
index: "so-bluecoat-%{[agent.version]}-%{+yyyy.MM.dd}"  
pipeline: "beatsg"

First, is the solution feasible ?

Br,  
E

---

<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:** [February 2, 2022, 7:20pm UTC](https://discuss.elastic.co/t/filebeat-with-multiple-input-log-sources/293567/2 "2022-02-02T19:20:08Z")

</div>

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