Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/docker-otel-lgtm
Path: blob/main/examples/java/json-logging-logback/README.md
401 views

Exporting Application logs using JSON logging in Kubernetes

Running the example

  1. Build the Docker image using using build.sh

  2. Deploy the manifest using kubectl apply -f k8s/ (e.g. using k3d.sh)

  3. Generate traffic using generate-traffic.sh

  4. Log in to http://localhost:3000 with user admin and password admin.

  5. Go to "Explore"

  6. Select "Loki" as data source