You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
451 B

[get-closest-disk-unit(1)]
args = field
definition = eval unit_to_use = case( \
$field$ >= (1024*1024*1024), "PB", \
$field$ >= (1024*1024), "TB", \
$field$ >= (1024), "GB", \
1=1, "MB") \
| eval divisor = case( \
unit_to_use = "PB", 1024*1024*1024, \
unit_to_use = "TB", 1024*1024, \
unit_to_use = "GB", 1024, \
unit_to_use = "MB", 1)
[itsi_os_module_indexes]
definition = (index=windows OR index=perfmon OR index=os)