cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No Data recorded

schnarrNoah
Newcomer

Hello people,

I have a curious issue on my data visualization. My approach was to get a count from data like this:

 fetch logs
| filter gitlab.source == "gitlab-exporter"
| filter contains(stage.name, "validate-deployment")
| parse message, """LD:string "│", LD:policy "│" LD:rule "│" LD:resource "│" LD:result "│" LD:reason "│" LD:message EOS """
| filter trim(result) == "Warn"
| summarize warnCounter = count()

Each time a message contains “Warning,” the counter increments. Now I will use this is as a variable in a normal text field on my dashboard like this: 

# `$warnCounter` TOTAL WARNINGS 

The problem is now when I refresh the dashboard or select a new timeframe, the query behind the variable doesnt execute... So all other data will be up to date but not my text total warnings.

It would be great if someone had a solution to this 🙂

1 REPLY 1

Fin_Ubels
Dynatrace Champion
Dynatrace Champion

Hey @schnarrNoah 

Would a single value tile not work?

Fin_Ubels_0-1734405129351.png

By having it as a single value tile it should update with every other tile. Also, to get what you're after you can just use the toString and concat functions to just return the string you're after.

Featured Posts