# Kibana not able to communicate with elasticsearch

**URL:** https://discuss.elastic.co/t/kibana-not-able-to-communicate-with-elasticsearch/321160
**Category:** Kibana
**Tags:** docker
**Created:** [December 13, 2022, 6:34pm UTC](https://discuss.elastic.co/t/kibana-not-able-to-communicate-with-elasticsearch/321160 "2022-12-13T18:34:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Harsh3](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@Harsh3](https://discuss.elastic.co/u/Harsh3)
#### Post date: [December 13, 2022, 6:34pm UTC](https://discuss.elastic.co/t/kibana-not-able-to-communicate-with-elasticsearch/321160/1 "2022-12-13T18:34:48Z")

</div>

Hello !!

I am new to Elastic-search and Kibana and this is the first time i am doing the implementation.  
I have configured kibana inside k8s cluster and elasticsearch is hosted on ec-2 instance my elasticsearch is up and running and is showing healthy . Version of Elasticsearch and kibana 7.17.0 ( same version). In kibana pod i am not getting any logs , i have configured config map aswell and added Elasticsearch host in that . I have configured ingress route with DNS entry done .  
Request you to please guide me on this ..

Below configuration for reference:-  
Elasticsearch output:

```auto
{
  "cluster_name" : "pds-dev",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 2,
  "number_of_data_nodes" : 2,
  "active_primary_shards" : 3,
  "active_shards" : 6,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 100.0

 curl -XGET 'http://10.90.40.5:9200/_cat/master'
Na88nnpzRBaXBHXIejbAIw 10.90.40.5 10.90.40.5 10.90.40.5

curl -XGET 'http://10.90.40.5:9200/_cat/nodes'
10.90.47.153 6 33 0 0.00 0.02 0.00 cdfhilmrstw - 10.90.47.153
10.90.40.5 14 38 2 0.02 0.02 0.04 cdfhlmrstw * 10.90.40.5

```

Kibana configuration:

```auto
apiVersion: apps/v1
kind: Deployment
metadata:
  name: kibana-deployment
  namespace: pds-logging
  labels:
    app: kibana
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kibana
  template:
    metadata:
      labels:
        app: kibana
    spec:
      volumes:
      - name: kibana-config-volume
        configMap:
          name: kibana-configmap
      containers:
      - name: kibana
        image: docker.elastic.co/kibana/kibana:7.17.0
        imagePullPolicy: 'Always'
        resources:
          requests:
            cpu: 0.5m
            #memory: 1Gi
          limits:
            cpu: 5m
        volumeMounts:
        - name: kibana-config-volume
          mountPath: /usr/share/kibana/config
        env:
        - name: ELASTICSEARCH_URL
          value: "http://10.90.40.5:9200"
        ports:      
        - containerPort: 5601
``
apiVersion: v1
kind: ConfigMap
metadata:
  name: kibana-configmap
  namespace: pds-logging
  labels:
    app: kibana
data:
  # kibana.yml is mounted into the Kibana container
  # see https://github.com/elastic/kibana/blob/master/config/kibana.yml
  # Kubernetes Ingress is used to route kibana-nfr2-east.pds.dev.use.torq.dev
  kibana.yml: |
    server.name: kibana-nfr2-east.pds.dev.use.torq.dev
    server.host: "0.0.0.0"
    elasticsearch.url: http://10.90.40.5:9200
    xpack.security.encryptionKey: "false"

```

---

<div class="post-metadata">

### Author: ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)
#### Post date: [January 5, 2023, 4:12pm UTC](https://discuss.elastic.co/t/kibana-not-able-to-communicate-with-elasticsearch/321160/2 "2023-01-05T16:12:27Z")

</div>

> [@Harsh3](#):
>
> In kibana pod i am not getting any logs

What do you mean by this ? Can you share full kibana logs please ?

---

<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 2, 2023, 4:13pm UTC](https://discuss.elastic.co/t/kibana-not-able-to-communicate-with-elasticsearch/321160/3 "2023-02-02T16:13:26Z")

</div>

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