Deploying Kibana

Kibana is an open source data visualization dashboard that lets you visualize your Elasticsearch data.

Let's perform the following steps to get Kibana deployed:

  1. Create a Kibana instance associated with the Elasticsearch cluster we created previously:
$ cat <<EOF | kubectl apply -f -
apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
name: mykibana
namespace: logging
spec:
version: 7.4.2
count: 1
elasticsearchRef:
name: elasticsearch
EOF
  1. Get the status of the Kibana node:
$ kubectl get elasticsearch -n logging
NAME HEALTH NODES VERSION AGE
mykibana green 1 7.4.2 2m27s
  1. You can also confirm the pod's status in the logging namespace using the following command:
$ kubectl get pods -n logging
NAME READY STATUS RESTARTS AGE
elasticsearch-es-default-0 1/1 Running 0 37m
elasticsearch-es-default-1 1/1 Running 0 37m
elasticsearch-es-default-2 1/1 Running 0 37m
mykibana-kb-7864bfdb45-26lpq 1/1 Running 0 3m36s

With that, you have both Elasticsearch and Kibana nodes deployed. Next, we will deploy fluent-bit to forward container logs to our Elasticsearch deployment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.190.211