API
Query
Python
https://grafana.com/docs/loki/latest/api/#examples
curl -G -s "http://localhost:3100/loki/api/v1/query" \ --data-urlencode 'query=sum(rate({job="varlogs"}[10m])) by (level)' \ | jq
https://pypi.org/project/python-logging-loki/
Last updated 4 years ago