Hello,
i read a file thrue SSH agent using this command:
I'm using the Log time format "yyyy/mm/dd hh:mm:ss"
I have a preprocessing regex "\d.*" with \0 that transform this line
to this line
But zabbix definitively not retrieve timestamp from processed line.
I have try to replace / and blank space with "p", but its doesn't work.
Any ideas on this?
Thanks for help
i read a file thrue SSH agent using this command:
Code:
sudo tail /var/log/synolog/synobackup.log | awk '/\[Network]/{print $0}'
I have a preprocessing regex "\d.*" with \0 that transform this line
Code:
info 2022/09/05 20:00:04 SYSTEM: [Network][svmirbackup01] Backup task started.
Code:
2022/09/05 20:00:04 SYSTEM: [Network][svmirbackup01] Backup task started.
I have try to replace / and blank space with "p", but its doesn't work.
Any ideas on this?
Thanks for help
Comment