Logs from the ECK Stack📜
Getting Started📜
Pre-requisites📜
- ECK stack deployed
Accessing Kibana📜
- Login to Kibana
- Username:
elastic -
Password: obtained by running:
kubectl get secrets -n logging logging-ek-es-elastic-user -o go-template='{{.data.elastic | base64decode}}' -
Create an Index by clicking the Management icon in the left menu and clicking Index patterns under Kibana. In the Create Index patterns enter
logstash-*and click create index pattern. In the next step click on the dropdown and select@timestamp. -
For Search click on Discovery from the side menu
-
In the KQL textbox enter
kubernetes.namespace.name : elastic -
Click Refresh/Update
-
Note: Logs from the monitoring stack can be viewed on Kibana. The default index pattern is
logstash-*. Logs for the entire ECK stack can be procured by filtering on theelasticnamespace.
Further filters that can be used are:
Kibana📜
kubernetes.pod_name=Kibana Pod Nameto get logs from a specific podkubernetes.container_name=kibanato get logs from the Kibana container
Elasticsearch Pods📜
kubernetes.pod_name=elastic-es-default-#to get logs from a specific podkubernetes.container_name=elasticsearchorelastic-internal-init-filesystemto get logs from a specific container within the pod