LokiHook

Grafana Loki

Loki Hook that interacts with an log push and query endpoint.

View on GitHub

Last Updated: Aug. 12, 2022

Access Instructions

Install the Grafana Loki provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

loki_conn_idstrconnection that has the base API url i.e https://www.grafana.com/ and optional authentication credentials. Default headers can also be specified in the Extra field in json format.

Documentation

Loki Hook that interacts with an log push and query endpoint.

Was this page helpful?