-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream labels empty in response when sending logs via fluentd #322
Comments
davkal
changed the title
On Explorer with Loki not show labels on log list
Stream labels empty in response when sending logs via fluentd
Feb 12, 2019
Not only fluentd... finnaly I can code a simple golang program that send snappy protobuff logs to Loki... and the labels not show. |
@lfdominguez this looks like #307 Are you using the latest version of Loki? |
let me exec |
now is working great with #341 |
Could this be related to #453 ? |
probably related to #453 yes. If not please @lfdominguez reopen. |
periklis
added a commit
to periklis/loki
that referenced
this issue
Jul 11, 2024
[release-5.8] Backport PR grafana#13430
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lfdominguez commented on Tue Feb 12 2019
What Grafana version are you using?
Master v6.0.0-pre3 (e38cfc1)
What datasource are you using?
Loki
Hello I'm testing Loki with fluentd and code an addon to the fluentd loki ingestor to add support for dynamic labels (get the value from the message). I'm currently use Docker Swarm in my infra with fluentd docker log driver. All works great, but in the explorer UI are showed the labels on the menu of labels, but when i active to show labels on the logs list not show me nothing, are these labels hardcoded?
Here you can see how the label
test
exists and the query if for labelueb
, but in the logs panel not show me any label.@dprokop commented on Tue Feb 12 2019
@lfdominguez Thanks for your report.
Labels displayed in the explore's logs list are those that are unique to a given log entry in a logs stream. Can you please provide us with a response you get for a given query?
@davkal Can you also take a look at this, please?
@davkal commented on Tue Feb 12 2019
I'm suspecting loki as well. Would be great to get a screenshot of the query response from the browser dev tools.
Another thing you can try is using logcli to check if loki returns correct labels. It's my feeling that the labels will be empty.
It would be great to get verification via logcli. And if no labels are returned, then we should open an issue in the loki repo.
@lfdominguez commented on Tue Feb 12 2019
yeap, response from Loki without labels
The text was updated successfully, but these errors were encountered: