<p>I'm using that <a href="https://github.com/fluent/fluentd-kubernetes-daemonset" rel="nofollow noreferrer">fluentd daemonset docker image</a> and sending logs to ES with fluentd is working perfectly by the way of using following code-snippets:</p>
<pre><code>  containers:
    - name: fluentd
      image: fluent/fluentd-kubernetes-daemonset:v1.4.2-debian-elasticsearch-1.1
      env:
        - name: FLUENT_ELASTICSEARCH_HOST
          value: &quot;my-aws-es-endpoint&quot;
        - name: FLUENT_ELASTICSEARCH_PORT
          value: &quot;443&quot;
        - name: FLUENT_ELASTICSEARCH_SCHEME
          value: &quot;https&quot;
        - name: FLUENT_ELASTICSEARCH_USER
          value: null
        - name: FLUENT_ELASTICSEARCH_PASSWORD
          value: null
</code></pre>
<p>But the problem happening is for DR/HA, we're about to save logs into S3 as well. My question is is there anyway that we can add multiple outputs  in fluentd-kubernetes-daemonset in kubernetes such as S3, Kinesis and so on?</p>

<p>It's subjective to how you are deploying Fluentd to the cluster. Do you use a templating engine like Helm or Skaffold?</p>
<p>If so, these should have a configmap / configuration option inside of them to customize the deployment and provide your own inputs. For example, the Helm fluentd can be defined by adding outputs here:</p>
<p><a href="https://github.com/helm/charts/blob/master/stable/fluentd/values.yaml#L97" rel="nofollow noreferrer">https://github.com/helm/charts/blob/master/stable/fluentd/values.yaml#L97</a></p>
<p>This should allow you to make multiple streams so the fluentd data is output to numerous locations.</p>
<p>I notice in your specific Docker Image you provided they have some templated items in Ruby. The config specifically allows for you to mount a volume to <code>conf.d/</code> in the fluentd folder: <a href="https://github.com/fluent/fluentd-kubernetes-daemonset/blob/master/templates/conf/fluent.conf.erb#L9" rel="nofollow noreferrer">https://github.com/fluent/fluentd-kubernetes-daemonset/blob/master/templates/conf/fluent.conf.erb#L9</a></p>
<p>Maybe <code>/etc/fluentd</code> but I'd recommend running the image locally and checking for yourself.</p>
<p>As long as your config files end in <code>.conf</code> you should be able to add anything you want.</p>
