# Need help in advanced cluster logging configuration

**URL:** <https://forums.suse.com/t/need-help-in-advanced-cluster-logging-configuration/16409>\
**Category:** SUSE Rancher Prime\
**Created:** [January 23, 2020, 8:08pm UTC](https://forums.suse.com/t/need-help-in-advanced-cluster-logging-configuration/16409 "2020-01-23T20:08:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bofh666](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/bofh666/32/6022_2.png) [@bofh666](https://forums.suse.com/u/bofh666)\
**Post date:** [January 23, 2020, 8:08pm UTC](https://forums.suse.com/t/need-help-in-advanced-cluster-logging-configuration/16409/1 "2020-01-23T20:08:41Z")

</div>

Hello community!

We need to ship RKE cluster logs to Elasticsearch including deployment failures, pods problems, invalid API requests etc. and excluding containers’ internal logs.

I’m trying to follow [https://rancher.com/docs/rancher/v2.x/en/cluster-admin/tools/logging/#enabling-cluster-logging](https://rancher.com/docs/rancher/v2.x/en/cluster-admin/tools/logging/#enabling-cluster-logging), item 4 (Edit as File). I’ve investigated default Fluentd configuration when cluster logging is enabled and I think simpliest “raw fluentd configuration for any logging service” in my case should look like this:

```
<match rke.**>
  @type elasticsearch
  host elasticsearch.host.tld
  index_name rancher
</match>

```

However when I press “Dry Run” I get “Something’s not quite right. Check your inputs.”. I’ve tried to put \* in match clause and put whole raw Fluentd config (same as default but without cluster and project sources) but with same result.

So, my questions are:

1. Am I thinking in correct direction in general?
2. Could anyone share a working custom Fluentd configuration which one should put into file editor mentioned in the manual?

TIA
