# Adding extra Fluentd plugins when using fluentd add-on

**URL:** <https://discuss.kubernetes.io/t/adding-extra-fluentd-plugins-when-using-fluentd-add-on/7242>\
**Category:** microk8s\
**Created:** [July 22, 2019, 9:10pm UTC](https://discuss.kubernetes.io/t/adding-extra-fluentd-plugins-when-using-fluentd-add-on/7242 "2019-07-22T21:10:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romain\_Rigaux](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/romain_rigaux/32/3135_2.png) [@Romain\_Rigaux](https://discuss.kubernetes.io/u/Romain_Rigaux)\
**Post date:** [July 22, 2019, 9:10pm UTC](https://discuss.kubernetes.io/t/adding-extra-fluentd-plugins-when-using-fluentd-add-on/7242/1 "2019-07-22T21:10:01Z")

</div>

Here are below the current Flutend plugins in the Fluentd pod. If we need additional ones, is the recommended way to rebuild the image and add them then?

If yes, is the image coming from [https://github.com/fluent/fluentd-kubernetes-daemonset](https://github.com/fluent/fluentd-kubernetes-daemonset)?

```
cat Gemfile
source 'https://rubygems.org'

gem 'fluentd', '<=1.2.2'
gem 'activesupport', '~>5.2.0'
gem 'fluent-plugin-kubernetes_metadata_filter', '~>2.1.2'
gem 'fluent-plugin-elasticsearch', '~>2.10.5'
gem 'fluent-plugin-systemd', '~>1.0.1'
gem 'fluent-plugin-detect-exceptions', '~>0.0.11'
gem 'fluent-plugin-prometheus', '~>1.0.1'
gem 'fluent-plugin-multi-format-parser', '~>1.0.0'
gem 'oj', '~>3.6.2'

```

Thanks

---

<div class="post-metadata">

**Author:** ![Romain\_Rigaux](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/romain_rigaux/32/3135_2.png) [@Romain\_Rigaux](https://discuss.kubernetes.io/u/Romain_Rigaux)\
**Post date:** [July 27, 2019, 2:23am UTC](https://discuss.kubernetes.io/t/adding-extra-fluentd-plugins-when-using-fluentd-add-on/7242/2 "2019-07-27T02:23:47Z")

</div>

Or maybe a follow-up question: is there a public Docker file for rebuilding

Image: [k8s.gcr.io/fluentd-elasticsearch:v2.2.0](http://k8s.gcr.io/fluentd-elasticsearch:v2.2.0)

?
