OpenShift deploy Logstash display Association backend for elasticsearch is not configured

display Association backend for elasticsearch is not configured

Elasticsearch and kibana have been deployed,


I've been looking for a long time and I don't know which side of the configuration is wrong.
Could you help me? Thank you.

Here is my logstash.yaml

apiVersion: logstash.k8s.elastic.co/v1alpha1
kind: Logstash
metadata:
  name: logstash-sample
spec:       
  count: 1  
  version: 8.13.0
  elasticsearchRefs:
    - clusterName: elasticsearch-sample
      name: elasticsearch-sample
  pipelines:
    - pipeline.id: main
      config.string: |
        input {
          beats {
            port => 5044
          } 
        }   
        output {
          elasticsearch {
            hosts => [ "https://elasticsearch-sample-es-http:9200" ]
            index => "logstash-%{+YYYY.MM.dd}"
            ssl_enabled => true
            ssl_verification_mode => false
            user => "chris"
            password => "p@ssw0rd"
          } 
        }   
  services: 
    - name: beats
      service:
        spec:
          type: ClusterIP
          ports:
            - port: 5044
              name: "filebeat"
              protocol: TCP
              targetPort: 5044

Hi, I'm facing the same issue. did you manage to find the solution?