What is the format of "Log time format" of log monitor? Is it "date" +format kind of format or?
Ad Widget
Collapse
Log monitor time format?
Collapse
X
-
I think the relevant code is the function calc_timestamp in zabbix_server/functions.c
In other words: the format is a string of h, m, s, y, d and M.Code:switch ((char) format[i]) { case 'h': hh=10*hh+num; hhc++; break; case 'm': mm=10*mm+num; mmc++; break; case 's': ss=10*ss+num; ssc++; break; case 'y': yyyy=10*yyyy+num; yyyyc++; break; case 'd': dd=10*dd+num; ddc++; break; case 'M': MM=10*MM+num; MMc++; break; }Comment
Comment