Skip to content
Advertisement

ploting filtered results from clickhouse in grafana not working

I’m really new in grafana and clickhouse, I’m trying to do a filtered dashboard in grafana with information from some CSV logs loaded on clickhouse , this is how it looks the query on clickhouse:

enter image description here

I want to plot that in grafana, my table name is logsb and using default db, column where looking match is LOG_INFO

At this point I’m able to visualize the information from all messages from my Table in clickhouse in grafana:

enter image description here using this code:

but I want to do a match or regex search to present in the graphic only the results from the filtering, trying something like this enter image description here

But is not working

I really appreciate your help on this

Thanks

Advertisement

Answer

key, value pairs should be represented as an array of tuples:

See more details ClickHouse datasource for Grafana.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement