Skip to main content

Create Elastic Logging

This guide shows how to create an Elastic Logging component as part of your Kubernetes cluster.

If you also have Ambassador in your LiveSystem, Fractal Cloud will make Kibana available at the Ambassador host address.

SDK Availability

Elastic Logging is currently supported in the Java SDK only. Support for the TypeScript SDK and Terraform Provider is planned.

Cloud provider guides

ProviderKubernetes ServiceGuide
Microsoft AzureAKS (Azure Kubernetes Service)Elastic Logging in AKS
Google Cloud PlatformGKE (Google Kubernetes Engine)Elastic Logging in GKE

Prerequisites

The ECK operator requires the below images, including the fluentd image.

  • docker.elastic.co/eck/eck-operator:2.5.0
  • docker.elastic.co/elasticsearch/elasticsearch:8.5.0
  • docker.elastic.co/kibana/kibana:8.5.0
  • docker.elastic.co/apm/apm-server:8.5.0
  • fluent/fluentd-kubernetes-daemonset:v1-debian-elasticsearch

If they are missing in the Fractal container registry, they must be pushed to your cluster's container registry. A script similar to the following might help:

containerRegistry="<your container registry prefix>"

docker pull docker.elastic.co/eck/eck-operator:2.5.0
docker tag docker.elastic.co/eck/eck-operator:2.5.0 ${containerRegistry}/eck/eck-operator:2.5.0
docker push ${containerRegistry}/eck/eck-operator:2.5.0

docker pull docker.elastic.co/elasticsearch/elasticsearch:8.5.0
docker tag docker.elastic.co/elasticsearch/elasticsearch:8.5.0 ${containerRegistry}/elasticsearch/elasticsearch:8.5.0
docker push ${containerRegistry}/elasticsearch/elasticsearch:8.5.0

docker pull docker.elastic.co/kibana/kibana:8.5.0
docker tag docker.elastic.co/kibana/kibana:8.5.0 ${containerRegistry}/kibana/kibana:8.5.0
docker push ${containerRegistry}/kibana/kibana:8.5.0

docker pull docker.elastic.co/apm/apm-server:8.5.0
docker tag docker.elastic.co/apm/apm-server:8.5.0 ${containerRegistry}/apm/apm-server:8.5.0
docker push ${containerRegistry}/apm/apm-server:8.5.0

docker pull fluent/fluentd-kubernetes-daemonset:v1-debian-elasticsearch
docker tag fluent/fluentd-kubernetes-daemonset:v1-debian-elasticsearch ${containerRegistry}/fluent/fluentd-kubernetes-daemonset:v1-debian-elasticsearch
docker push ${containerRegistry}/fluent/fluentd-kubernetes-daemonset:v1-debian-elasticsearch