# Apply Ingest Pipeline to all future filebeat-\* indices

**URL:** https://discuss.elastic.co/t/apply-ingest-pipeline-to-all-future-filebeat-indices/93288
**Category:** Elasticsearch
**Created:** [July 16, 2017, 6:30am UTC](https://discuss.elastic.co/t/apply-ingest-pipeline-to-all-future-filebeat-indices/93288 "2017-07-16T06:30:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![brandont](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@brandont](https://discuss.elastic.co/u/brandont)
#### Post date: [July 16, 2017, 6:30am UTC](https://discuss.elastic.co/t/apply-ingest-pipeline-to-all-future-filebeat-indices/93288/1 "2017-07-16T06:30:26Z")

</div>

I am using Filebeat to monitor and upload log files to Elasticsearch. Filebeat is configured to upload the logs to `filebeat-{date}` so each day, the index changes. Is there a way to configure an ingest pipeline so that it gets applied to all future indices of type `filebeat-*`? Based on what I've seen in the docs, it appears that ingest pipelines can only be applied to existing indices but I'm hoping that's not the case.

I know I can apply the grok filtering using a filter in Logstash but I'm trying to eliminate that dependency with the new ingest pipeline feature.

Thanks!  
Brandon

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 16, 2017, 6:53am UTC](https://discuss.elastic.co/t/apply-ingest-pipeline-to-all-future-filebeat-indices/93288/2 "2017-07-16T06:53:16Z")

</div>

I think [https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#\_pipeline\_2](https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#_pipeline_2) is what you want.

---

<div class="post-metadata">

### Author: ![brandont](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@brandont](https://discuss.elastic.co/u/brandont)
#### Post date: [July 16, 2017, 5:09pm UTC](https://discuss.elastic.co/t/apply-ingest-pipeline-to-all-future-filebeat-indices/93288/3 "2017-07-16T17:09:40Z")

</div>

Awesome, thanks! I didn't know you could apply the pipelines in the Filebeat config.

---

<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: [August 13, 2017, 5:09pm UTC](https://discuss.elastic.co/t/apply-ingest-pipeline-to-all-future-filebeat-indices/93288/4 "2017-08-13T17:09:42Z")

</div>

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