Jan 30 2018
- last edited on
Apr 07 2022
I'm trying to create a line dashboard with the following query:
where CounterName == "% Committed Bytes In Use" and TimeGenerated > ago(2h)
summarize average_committed_bytes_percent = avg(CounterValue) by Computer
where average_committed_bytes_percent < 50
and when I click apply i get the error (400) Failed to resolve entity TimeGenerated.
This happens even after I remove the "and TimeGenerated > ago(2h)" condition.
I don't get what's wrong.
Can you help me?
Thanks in advance.
Jan 30 2018 12:23 PM
I found the issue, which is completely different from the error message.
While the error states there's a problem with TimeGenerated, the issue is that the summarize variable name "average_committed_bytes_percent" is too long. When I changed to something much shorter like "avgram" it worked.
The error code needs to be changed. I wasted several hours trying to find out what's going on. Is there any way to send this feedback so this doesn't happen to other users?