I am trying to use Loki and Grafana to store logs for some HTTP events on my Node server. To test beforehand I created a POST request in Postman and sent it to https://<user>:<apiKey>@logs-prod-<database>.grafana.net/loki/api/v1/push
. This gives me a 204 response.
In my Explore tab I have the Loki datasource selected, and I am able to see the labels (app & level) from this request, but I am not able to see any logs. I have tried modified the date range, but that did not help. Is there something wrong with my request?
{
"streams": [
{
"stream": {
"level": "info",
"app": "app"
},
"values": [
[
"1720699969000000000",
"test"
]
]
}
]
}