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
@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
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