victorialogs-datasource icon indicating copy to clipboard operation
victorialogs-datasource copied to clipboard

logs volume by severity

Open lauren-hinge opened this issue 11 months ago • 1 comments

Hey, I just got this up and running, but the Logs Volume responses for Raw Logs queries in grafana don't return results broken down by severity/level.

I'm seeing:

Image

But with other tools I've seen:

Image

 

I'm querying against logs ingested by otlphttp, and in my logs we're working with field severity.

Is this a feature this datasource already has -- is it something I can configure? Or is this a feature request 😅? Haven't seen it mentioned in the docs anywhere.

lauren-hinge avatar Jan 12 '25 16:01 lauren-hinge

I don't believe this is possible currently, I'm converting this to a feature request

tiny-pangolin avatar Jan 14 '25 13:01 tiny-pangolin

Hi @lauren-hinge ! The feature was added by this https://github.com/VictoriaMetrics/victorialogs-datasource/pull/301 and will be included in the next release. With this feature, you will be able to define custom rules for dynamically assigning log levels based on field values in the "Log level rules" section.

dmitryk-dk avatar May 28 '25 12:05 dmitryk-dk

Hi! The feature was added to the v0.17.0 version. If you find any problem, feel free to reopen this feature request

dmitryk-dk avatar Jun 03 '25 06:06 dmitryk-dk