# Rancher2\_cluster\_logging resource doesn’t configure log streaming

**URL:** <https://forums.suse.com/t/rancher2-cluster-logging-resource-doesn-t-configure-log-streaming/37071>\
**Category:** SUSE Rancher Prime\
**Created:** [February 22, 2022, 1:40pm UTC](https://forums.suse.com/t/rancher2-cluster-logging-resource-doesn-t-configure-log-streaming/37071 "2022-02-22T13:40:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fufelok](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/fufelok/32/8458_2.png) [@Fufelok](https://forums.suse.com/u/Fufelok)\
**Post date:** [February 22, 2022, 1:40pm UTC](https://forums.suse.com/t/rancher2-cluster-logging-resource-doesn-t-configure-log-streaming/37071/1 "2022-02-22T13:40:53Z")

</div>

**Rancher Server Setup**

- Rancher version: 2.6.3
- Installation option: Helm Chart
- If Helm Chart, Kubernetes Cluster and version: RKE1
- Proxy/Cert Details:

**Cluster info:**

- Kube version: v1.20.12
- Cluster type: custom downstream cluster based on EC2 instances.

Hi, we used `rancher2_cluster_logging` terraform resource to configure log streaming to AWS Opensearch from one of the downstream clusters. `terraform apply ` finished without any issues, but there are no logging configurations in that downstream cluster, and cluster-logging namespace is empty now. At the same moment, `local` cluster has fluentd related pods in `cluster-logging` namespace and they are successfully sending logs to OpenSearch.

We’ve checked `v3/clusters/foobar/clusterloggings` endpoint, and we are found something:

```auto
"data": [
      {
      "annotations": { },
      "appliedSpec": {
      "clusterId": "",
      "enableJSONParsing": false,
      "includeSystemComponent": true,
      "outputFlushInterval": 60,
      "type": "/v3/schemas/clusterLoggingSpec"
      },
      "baseType": "clusterLogging",
      "clusterId": "foobar"
      "conditions": [
      {
              "lastUpdateTime": "2022-02-22T12:45:40Z",
              "message": "tls handshake opensearch.foobar.com failed: dial tcp: address opensearch.foobar.com: missing port in address",
              "status": "False",
              "type": "Updated"
      }
],

```
