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

Log volumes ingested by each host

sannapa1
Newcomer_

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

2 REPLIES 2

p_devulapalli
Leader

@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

 

 

Phani Devulapalli

Maheedhar_T
Mentor

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 

Maheedhar

Featured Posts