Write history data from Zabbix items in a file, in a log pattern.