# Filebeat different log paths to different indexes to elastic cloud

**URL:** <https://discuss.elastic.co/t/filebeat-different-log-paths-to-different-indexes-to-elastic-cloud/198843>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 10, 2019, 7:56am UTC](https://discuss.elastic.co/t/filebeat-different-log-paths-to-different-indexes-to-elastic-cloud/198843 "2019-09-10T07:56:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fadil030889](https://avatars.discourse-cdn.com/v4/letter/f/a6a055/32.png) [@fadil030889](https://discuss.elastic.co/u/fadil030889)\
**Post date:** [September 10, 2019, 7:56am UTC](https://discuss.elastic.co/t/filebeat-different-log-paths-to-different-indexes-to-elastic-cloud/198843/1 "2019-09-10T07:56:47Z")

</div>

Hi,

So i wanted to send logs from different paths directly to elastic cloud, from filebeat.

Usually the output to customise the index would be in the filebeat.yml:

setup.ilm.enabled: true  
setup.ilm.rollover\_alias: "index A"

So if I wanted to send : pathA/pathA/\*  
pathB/pathB/\*  
pathC/pathC/\*

to index A, index B, index C

how should the config be ?

Thanks!

---

<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:** [October 8, 2019, 7:56am UTC](https://discuss.elastic.co/t/filebeat-different-log-paths-to-different-indexes-to-elastic-cloud/198843/2 "2019-10-08T07:56:47Z")

</div>

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