Skip to content

Simple docker compose set of Grafana, Loki, and Promtail. Also, a log generator is set to push ramdom log data to Loki via Promtail for demonstration purposes.

Notifications You must be signed in to change notification settings

densom/grafana_demo

Repository files navigation

Grafana Demo

Table of Contents

About

Simple docker compose set of Grafana, Loki, and Promtail. Also, a log generator pushes random log data to Loki via a Promtail sidecar for demonstrating pipelines.

architecture diagram

Prerequisites

End with an example of getting some data out of the system or using it for a little demo.

Usage

  • docker compose up
  • Create the Loki datasource (one of the following):
    • Run .\create-datasource.ps1
    • Use the snippet in the create-datasource.http along with the recommended RestClient to create the datasource.
    • (optional) If you did not use the automation above, you can manually add a datasource in Grafana of type "Loki" and point it to http://loki:3100/.
  • Navigate to Grafana at http://localhost:3000.

Pushing Windows Event Log

Run ./bin/run-promtail-local.bat

About

Simple docker compose set of Grafana, Loki, and Promtail. Also, a log generator is set to push ramdom log data to Loki via Promtail for demonstration purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published