Skip to content
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

[Feature request] label_format #317

Open
timansky opened this issue Mar 24, 2023 · 2 comments
Open

[Feature request] label_format #317

timansky opened this issue Mar 24, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request feature request

Comments

@timansky
Copy link

FIlter label_fromat is not working
https://grafana.com/docs/loki/latest/logql/log_queries/#labels-format-expression

clickhouse: 22.9.7.34
qryn@2.3.0

@Dletta Dletta self-assigned this Apr 14, 2023
@Dletta
Copy link
Collaborator

Dletta commented Apr 14, 2023

Hi @timansky,

Thank you for the issue. We do not support label_format at this time. It is on the roadmap as a lower priority (not much used) feature.

What is your use case?

@timansky
Copy link
Author

For example we have different label name, but with same values. Unfortunately we can not convert label name because of nested level of log capturing. For example nginx logs inside kubernetes log (writing different exporter for each pod is to complicated)

|~ (?i)"level(_name)?":"(error|warn|warning|notice|critical|alert|emergency|panic|fatal)"

@lmangani lmangani added enhancement New feature or request feature request labels Apr 14, 2023
@lmangani lmangani changed the title [Feature request] label_format not working [Feature request] label_format Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

3 participants