31 May 2023 02:44 PM
timeseries cpu=avg(dt.host.cpu.usage), by:dt.entity.host
, I only get the ID for each series. When I run the equivalent metric selector builtin:host.cpu.usage:splitBy("dt.entity.host")
in the Data Explorer, the list is broken down by hostname.Solved! Go to Solution.
01 Jun 2023 07:19 AM - last edited on 19 Jun 2023 12:11 PM by sinisa_zubic
Hi Stefan, you just add the host.name to the dimensions you want to split by
timeseries cpu=avg(dt.host.cpu.usage), by:{dt.entity.host, host.name}