# Kibana http to elasticsearch

**URL:** <https://discuss.elastic.co/t/kibana-http-to-elasticsearch/322896>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [January 11, 2023, 9:26am UTC](https://discuss.elastic.co/t/kibana-http-to-elasticsearch/322896 "2023-01-11T09:26:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vojtech\_Vavra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vojtech_vavra/32/114249_2.png) [@Vojtech\_Vavra](https://discuss.elastic.co/u/Vojtech_Vavra)\
**Post date:** [January 11, 2023, 9:26am UTC](https://discuss.elastic.co/t/kibana-http-to-elasticsearch/322896/1 "2023-01-11T09:26:19Z")

</div>

Hello  
I would like to ask how to configure kibana for connect to the elasticsearch on HTTP not HTTPS.  
i have installed ECK on kubernetes and turn off SSL on elasticsearch because I have treafik before ECK and don't need SSL between elastic pods(nodes)  
When I am trying deploy Kibana operator yell to me about :"no port named [https] in service [elastic/elasticsearch-quickstart-es-http]  
it is true because on elastic/elasticsearch-quickstart-es-http is only HTTP not https.

kibana manifest for operator:

```auto
  config:
    elasticsearch:
     hosts:
     - http://elasticsearch-quickstart-es-http.elastic.svc:9200
     username: elastic
     password: <password>
    logging.root.level: trace
    server.basePath: /kibana
    server.publicBaseUrl: https://kibana.<domain>/kibana
    server.rewriteBasePath: true
    server.ssl.enabled: false
    xpack.fleet.agentPolicies:
    - id: eck-fleet-server
      is_default_fleet_server: true
      monitoring_enabled:
      - logs
      - metrics
      name: Fleet Server on ECK policy
      namespace: elastic
      package_policies:
      - id: fleet_server-1
        name: fleet_server-1
        package:
          name: fleet_server
    - id: eck-agent
      is_default: true
      monitoring_enabled:
      - logs
      - metrics
      name: Elastic Agent on ECK policy
      namespace: elastic
      package_policies:
      - id: system-1
        name: system-1
        package:
          name: system
      unenroll_timeout: 900
    xpack.fleet.agents.elasticsearch.hosts:
    - http://elasticsearch-quickstart-es-http.elastic.svc:9200
    xpack.fleet.agents.fleet_server.hosts:
    - http://fleet-server-quickstart-agent-http.elastic.svc:8220
    xpack.fleet.packages:
    - name: system
      version: latest
    - name: elastic_agent
      version: latest
    - name: fleet_server
      version: latest
  count: 1
  elasticsearchRef:
    name: elasticsearch-quickstart
  enterpriseSearchRef: {}
  http:
    service:
      metadata: {}
      spec:
        ports:
        - name: http
          port: 5601
          protocol: TCP
          targetPort: 5601
    tls:
      certificate: {}
  monitoring:
    logs: {}
    metrics: {}
  podTemplate:
    metadata:
      creationTimestamp: null
    spec:
      containers:
      - name: kibana
        ports:
        - containerPort: 5601
          name: http
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /kibana/login
            port: 5601
            scheme: HTTP
        resources:
          limits:
            cpu: "2"
            memory: 2560Mi
          requests:
            cpu: 500m
            memory: 1Gi
  version: 8.5.2

```

in description of kibana manifest:

```auto
Association backend for elasticsearch is not configured

```

I don't see any possibility how to tell kibana communicate on HTTP not https.  
thanks for advise

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 8, 2023, 9:26am UTC](https://discuss.elastic.co/t/kibana-http-to-elasticsearch/322896/2 "2023-02-08T09:26:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
