quickwit-oss / quickwit-oss/quickwit-datasource

Grafana does not recognize loglevels.

Open
#191 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
76
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Hi all, is there a way to force Grafana to recognise the levels of the logs? No matter how i set the log field to severity_text I get this:

Image

here is my config

apiVersion: 1

datasources:
  - name: Quickwit Logs
    uid: quickwit-logs
    type: quickwit-quickwit-datasource
    access: proxy
    url: http://quickwit:7280
    editable: true
    jsonData:
      index: otel-logs-v0_9
      logMessageField: body.message
      logLevelField: severity_text
      dataLinks:
        - field: trace_id
          datasourceUid: jaeger
          url: '$${__value.raw}'
          urlDisplayLabel: View trace
          base64TraceId: false

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining how the Grafana datasource handles the provided logLevelField: severity_text setting in the YAML configuration and compare it with the displayed log-level behavior. Reproduce the issue with the supplied Quickwit Logs configuration and confirm that Grafana recognizes the configured log levels when the issue is fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, typescript
Domain
observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.