# Import yaml pipeline

**URL:** <https://discuss.elastic.co/t/import-yaml-pipeline/236184>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 8, 2020, 1:48pm UTC](https://discuss.elastic.co/t/import-yaml-pipeline/236184 "2020-06-08T13:48:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rverchere](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@rverchere](https://discuss.elastic.co/u/rverchere)\
**Post date:** [June 8, 2020, 1:48pm UTC](https://discuss.elastic.co/t/import-yaml-pipeline/236184/1 "2020-06-08T13:48:20Z")

</div>

Hello,

I'd like to manually insert ingest pipelines defined in filebeat, which is not yet released.  
In filebeat, these ingest pipelines are in yaml format, but are defined in json format in elasticsearch.

How can I easily transform yaml pipeline in json?  
i.e. [https://github.com/elastic/beats/blob/master/x-pack/filebeat/module/fortinet/firewall/ingest/traffic.yml](https://github.com/elastic/beats/blob/master/x-pack/filebeat/module/fortinet/firewall/ingest/traffic.yml)

Thanks !

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [June 8, 2020, 6:40pm UTC](https://discuss.elastic.co/t/import-yaml-pipeline/236184/2 "2020-06-08T18:40:48Z")

</div>

Hi Remi,

I want to make sure I'm understanding your scenario correctly. Are you developing a new Filebeat module? Or are you looking to modify an existing Filebeat module's ingest pipeline - if so, which one? Fortinet?

Also, which version of Filebeat and Elasticsearch are you running?

Shaunak

---

<div class="post-metadata">

**Author:** ![rverchere](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@rverchere](https://discuss.elastic.co/u/rverchere)\
**Post date:** [June 8, 2020, 7:18pm UTC](https://discuss.elastic.co/t/import-yaml-pipeline/236184/3 "2020-06-08T19:18:55Z")

</div>

Hi Shaunak,

I'm not developing modules, I'musing filebeat 7.7, and reading fortinet log files.  
I want to use filebeat fortinet pipelines that are available on the github master branch, and not yet released.

I'd like to know how can I easily get the yaml ingest pipelines declarations from the filebeat module and add it to elasticsearch without building the upcoming filebeat version/modules.

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:** [July 6, 2020, 9:19pm UTC](https://discuss.elastic.co/t/import-yaml-pipeline/236184/4 "2020-07-06T21:19:02Z")

</div>

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