Demos of doing things with Grafana and the LGTM stack (Loki, Grafana, Tempo, Mimir).
⚠ Most of these demos are incomplete. They are just skeleton setups to make it easier to do a bit of learning and exploration with the LGTM stack. Use at your own risk!
Path | Description | Last Updated |
---|---|---|
aws-ecs-ec2-alloy | AWS: Send logs from an ECS task on EC2 to Grafana Cloud Logs with Grafana Alloy This example shows how to collect logs from tasks running on ECS EC2 instances, using Grafana Alloy running as a Daemon on the VM. |
2024-10-16 |
aws-ecs-fargate-firelens-loki | AWS: Send logs from an ECS Fargate Task to Grafana Cloud Logs using AWS Firelens log router This uses: |
2023-07-27 |
enterprise-logs-k8s-manifests-1.6.0 | Grafana Enterprise Logs 1.6.0 + Minio on Kubernetes This quick demo deploys Grafana Enterprise Logs 1.6.0 with Minio storage backend on Kubernetes, exposed publicly through an external LoadBalancer. |
2024-04-25 |
gel-on-gke | gel-on-gke A journal from deploying the following on Kubernetes on Google Cloud: |
2022-10-26 |
grafana-keycloak-oauth | grafana-keycloak-oauth Example ``` podman-compose up |
2024-09-23 |
java-httpservlet-otel | Java: Tomcat servlet logs with OpenTelemetry This project demonstrates how to monitor a simple Java servlet running on Tomcat using the OpenTelemetry Java agent. It collects the telemetry via Alloy, which sends it to Grafana Cloud for visualisation. |
2024-10-23 |
java-spring-otel | java-spring-otel Demo of collecting traces, logs and metrics from a Java application and sending them to [Grafana Cloud][2]. |
2022-09-26 |
logs-lbac | logs-lbac (Label-Based Access Control) This demo shows how to restrict access to logs in Grafana Cloud Logs, using Cloud Access Policies. |
2023-05-15 |
logs-promtail-examples | logs-promtail-examples This demo [Compose][compose] project shows how to use Promtail to read application log files, and send them to Grafana Cloud Logs or Loki. It also shows how to use the features of Promtail to add extra labels, and parse log lines. |
2023-09-20 |
loki-binary-with-promtail | loki-local Running a local instance of Loki using the binary distribution, with Promtail as a log collector. |
2022-09-13 |
loki-docker-compose | loki-docker-compose Run Loki, Promtail and Grafana in containers. |
2023-09-20 |
loki-fluentbit-metadata | Fluent Bit: Parsing and sending structured metadata to Loki This Compose example shows how to use Fluent Bit's Loki plugin to parse incoming JSON logs, and attach two pieces of Structured Metadata to each log line. |
2024-10-23 |
loki-k8s-fluentbit | Kubernetes -> Fluent Bit -> Loki This example shows how to deploy Fluent Bit with the Loki output plugin to send logs to Loki or Grafana Cloud Logs. |
2023-10-16 |
loki-mock-logs | mock logs Deploy a stacktrace generator: |
2024-03-15 |
loki-otlp-labels | Loki: Promote custom OpenTelemetry resource attributes to labels How to use Alloy to set a custom OpenTelemetry Resource Attribute, and then get Loki/GEL to automatically promote the attribute to a label, instead of structured metadata. |
2024-09-03 |
loki-single-store-deletion | loki-single-store-deletion (incomplete) Single Store is the name for a configuration variant of Loki, where the chunk store is configured to hold both chunks and the index. |
2022-10-26 |
terraform-basic-json | Terraform: Basic example in JSON language This example Terraform configuration uses the JSON syntax to create 1 stack in a Grafana Cloud organization. |
2024-04-26 |
terraform-stack-loki-lbac | Terraform: create stack and set up LBAC for Loki This is an example Terraform configuration for setting up Loki LBAC in Grafana Cloud. |
2024-02-19 |