# Output specific input to specific pipelines

**URL:** <https://discuss.elastic.co/t/output-specific-input-to-specific-pipelines/68686>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 12, 2016, 9:48am UTC](https://discuss.elastic.co/t/output-specific-input-to-specific-pipelines/68686 "2016-12-12T09:48:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwjvaughan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dwjvaughan/32/10648_2.png) [@dwjvaughan](https://discuss.elastic.co/u/dwjvaughan)\
**Post date:** [December 12, 2016, 9:48am UTC](https://discuss.elastic.co/t/output-specific-input-to-specific-pipelines/68686/1 "2016-12-12T09:48:14Z")

</div>

I have a filebeat on a server with multiple files to be ingested into a single Elasticsearch cluster. The issue I have is the files are very different, and as such, require very different ingest pipelines.

So the question is, how do I specify a different pipeline for a different input? Is it even possible?

I've just spotted this: [Could filebeat support multipath for input and output separately?](https://discuss.elastic.co/t/could-filebeat-support-multipath-for-input-and-output-separately/50297) so I have a suspicion this won't be possible with a single instance of filebeat. Would appreciate confirmation either way though.

Many thanks,  
Dave

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [December 12, 2016, 2:06pm UTC](https://discuss.elastic.co/t/output-specific-input-to-specific-pipelines/68686/2 "2016-12-12T14:06:36Z")

</div>

Filebeat 5.0 introduced the [pipeline](https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#_pipeline) and [pipelines](https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#_pipelines) settings. The `pipeline` configuration supports [Format Strings](https://www.elastic.co/guide/en/beats/libbeat/current/config-file-format-type.html#_format_string_sprintf) allowing you to select the pipeline from event content itself (e.g. set via `document_type` or `fields` settings in prospector config).

---

<div class="post-metadata">

**Author:** ![dwjvaughan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dwjvaughan/32/10648_2.png) [@dwjvaughan](https://discuss.elastic.co/u/dwjvaughan)\
**Post date:** [December 12, 2016, 2:29pm UTC](https://discuss.elastic.co/t/output-specific-input-to-specific-pipelines/68686/3 "2016-12-12T14:29:37Z")

</div>

Perfect, 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:** [January 9, 2017, 2:30pm UTC](https://discuss.elastic.co/t/output-specific-input-to-specific-pipelines/68686/4 "2017-01-09T14:30:01Z")

</div>

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