I am trying to add the below metricbeat processor in system.yml file for adding a custom field. It does not throw any error but does not compute and add the field as well. Is it possible to perform arithmetic operations in the metricbeat module yaml files ? If yes, what is the right syntax?
- add_fields:
when:
range:
(system.cpu.total.pct/system.cpu.cores):
gte: 0.3
(system.cpu.total.pct/system.cpu.cores):
lt: 0.7
target: ''
fields:
status: AMBER