The below chart works great
chart sum(free_contig) over source by RaidGroup_Type
I'd like my sum (in megabytes) to be converted to gigabytes
& I was trying stuff like
chart sum(free_contig)/1024 over source by RaidGroup_Type
chart (sum(free_contig)/1024) over source by RaidGroup_Type
chart eval(sum(free_contig)/1024) over source by RaidGroup_Type
Oddly cant find much on dividing in the splunk documentation and
none of my attempts have worked.
I think this should work. Maybe you were just missing the rename operation (i.e. "... as free_config_GB"):
... | chart eval(sum(free_config) / 1024) as free_config_GB over source by RaidGroup_Type
That worked well.. thank you!
Great! Please be a good netizen and accept the answer if it solved your problem. 🙂
I think this should work. Maybe you were just missing the rename operation (i.e. "... as free_config_GB"):
... | chart eval(sum(free_config) / 1024) as free_config_GB over source by RaidGroup_Type