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

New Dashboards - donut/PieChart split by values

Afternoon community!

I have a DQL query which is giving the health status of specific type of message:

fetch logs, from: $dt_timeframe_from, to: $dt_timeframe_to, scanLimitGBytes: 1
| filter dt.system.bucket == "sap_cpi_p1_7d" and matchesValue(integration_artifact_name, "SalesOrderSimulate") and matchesPhrase(custom_headers, "D365")
| summarize count(), by:{custom_status}

The query summarize the data in order to get a PIE chart of custom_status per artifact name  "SalesOrderSimulate" (in dashboard new):

y_buccellato_0-1720090499872.png

Now I have multiple artifact_name and multiple custom_status. Is it possible to have a donut/pie chart splitted by this combinations of values?

like*
SalesOrderSimulate | Complete
SalesOrderSimulate | Failed

CRUD | Complete
CRUD | Failed

etc...

Thank for your support here


 

2 REPLIES 2

Eric_Yu
Dynatrace Mentor
Dynatrace Mentor

The pie chart is only going to allow you to use one dimension as the splitter,

Eric_Yu_2-1720114085385.png

If you want to split it by a combination of those values, you'd have to concatenate those values beforehand and use that new field as the new splitter for your summarization:

 

fetch logs
| filter isNotNull(cloud.provider)
| fields cloud.provider, loglevel, splitter=concat(cloud.provider, " | ", loglevel)
| summarize count(), by:{splitter}

 

Eric_Yu_3-1720114187823.png

Eric Yu | LATAM ACE Consultant

It works. Thank you for providing clarity on this matter!

Featured Posts