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

Migration from Old Dashboard to New Dashboard

MarwanC
Organizer

I am trying to convert this code from the old dash board to have it working on the new dashboard but is not showing.

The migration of the dashboard did not get this righ.

 

Count The no of Management Zone:

timeseries {
management_zone_count = count(dt.entities, filter: { entity.type == "MANAGEMENT_ZONE" })
}

 

Count the Numbers of Tag:

 

timeseries {
applied_tags_count = count(dt.entities, filter: { entity.type == "TAG" })
}

 

I also tried this but none is working - 

fetch dt.metrics
| filter startsWith(metric.key, "dt.sfm.server.automatically_applied_tags")

 

fetch dt.entities
| filter entity.type == "TAG"
| summarize count()

 

fetch dt.metrics
| filter startsWith(metric.key, "dt.sfm.server.management_zones")

 

fetch dt.entities
| filter entity.type == "MANAGEMENT_ZONE"
| summarize count()

 

 

 

 

Any help is much appreciated.

 

Marwan...

 

 

 

 

 

 

 

 

 

 

0 REPLIES 0

Featured Posts