24 Aug 2025
11:57 PM
- last edited on
25 Aug 2025
10:21 AM
by
Ana_Kuzmenchuk
I am trying to build a dashboard that has the details of log volumes in bytes per host. I tried looking for the field log.size, but that doesn't contain any value when I am running the DQL. Can someone please help? I am new to Dynatrace
26 Aug 2025 03:19 AM - edited 26 Aug 2025 03:20 AM
@sannapa1 Take a look at the Log ingest overview dashboard ,that can hep you with the initial start
https://docs.dynatrace.com/docs/shortlink/ready-made-dashboards#log-ingest-overview
26 Aug 2025 09:30 AM
Hi @sannapa1 ,
You can use a DQL like this
fetch logs
| fieldsAdd size = toDouble(content.length)
| summarize sum(size) , by:{host.name}
But it would query huge amount of log to actually tell you which host is ingesting how much amount of log so use with caution.
This would give you approximate size of ingested log (In bytes)
Happy Querying..!
Regards,
@Maheedhar_T