VictoriaLogs-Grafana

VictoriaLogs-Grafana

Bare bones Grafana provisioned with VictoriaLogs

Deploy VictoriaLogs-Grafana

VictoriaLogs

victoriametrics/victoria-logs:latest

Just deployed

/victoria-logs-data

Grafana

Battlesquid/railway-victorialogs-grafana

Just deployed

/grafana/data

Overview

Bare bones template to set up a Grafana instance provisioned with a VictoriaLogs data source.

A basic starter for sending logs to VictoriaLogs (replace [VICTORIALOGS_INSTANCE] and [BASE_64_AUTH] with your actual instance url and base-64 encoded username:password):

curl --request POST \
  --url 'https://[VICTORIALOGS_INSTANCE]/insert/jsonline?_stream_fields=stream&_time_field=date&_msg_field=log.message' \
  --header 'Authorization: Basic [BASE_64_AUTH]' \
  --header 'Content-Type: application/stream+json' \
  --data '{ "log": { "level": "info", "message": "hello world" }, "date": "0", "stream": "stream1" }
{ "log": { "level": "error", "message": "oh no!" }, "date": "0", "stream": "stream1" }
{ "log": { "level": "info", "message": "hello world" }, "date": "0", "stream": "stream2" }'

Read more about VictoriaLogs data ingestion options here.

Documentation

The full list of CLI flags for VictoriaLogs can be found here.

The provisioned Grafana configuration can be found here.


Template Content

More templates in this category

View Template
OpenTelemetry Collector and Backend

OpenTelemetry Collector and Backend

OpenTelemetry Collector with Backend Stack


View Template
pgweb | Postgres UI

pgweb | Postgres UI

View and query your Postgres instance with a sleek and minimalistic UI.


View Template
Elasticsearch-Kibana

Elasticsearch-Kibana

Elasticsearch is a search engine based on the Lucene library.