Hi Petr, The `syslog_message_key` field should use `used` ( coming from cpu metrics data ) if you want get cpu data.
The format of “…...System.cpu” , was a json format data , e.g.
The syslog output would use one of ( only one ) field in the json data as syslog message. So that, you can pick up the `used` or `free` or others. but only one of them.
BTW, using syslog for cpu numerical value was not a good idea. Maybe better try influxdb, postgres, or others.
{
"irq": 0,
"date": 1684471422.533875,
"free": 96.296295,
"idle": 96.296295,
"nice": 0,
"used": 3.7037036,
"user": 2.4691358,
"count": 4,
"guest": 0,
"steal": 0,
"iowait": 0,
"ipAddr": "192.168.72.140",
"system": 1.2345679,
"softirq": 0,
...
}
And the
The Data source : “System”, the metrics: cpu , the output look like this,
and syslog server side like this ,
Hi Liu,
So Syslog destination is advised to be used only for log metrics from the data source System or one of the IED apps (along with the field log)?
Best regards,
Petr