Multiple labels with /loki/api/v1/push?

The JSON format for POST /api/prom/push only allows a single label, whereas the now deprecated ‘/api/prom/push’ allowed multiple labels for a log entry. How do I specify multiple labels with POST /api/prom/push?


  1. /api/prom/push is deprecated, use /loki/api/v1/push.
  2. It does allow multiple labels, see Grafana Loki HTTP API | Grafana Loki documentation.

Ah yes I see now - thanks