Ad Widget

Collapse

hw to change zabbix log time format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • develo999
    Junior Member
    • Mar 2019
    • 17

    #1

    hw to change zabbix log time format

    zabbix log : zabbix_server.log
    show time in not friendly way -> 27636:20191017:155131.666
    how can i change it?
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    You can't change it on your own. You have option to direct logging to syslog and probably have time in a different way.

    But what don't you like about the current way the date and time is logged? It is logically structured and can be both human and machine readable.

    Comment

    • develo999
      Junior Member
      • Mar 2019
      • 17

      #3
      in second look its ok

      Comment

      • denmon
        Junior Member
        • Nov 2023
        • 3

        #4
        I did the same thing, at first glance I thought it was the idiotic "time since application start" timestamp that a few applications use (Virtualbox, OpenJDK GC logging, etc).

        But it's actually a sensible format of PID, YYMMDD, and HHMMSS.sss. Just a little harder to eyeball than the standard "date" output, but with the advantage of being easily machine parsable.

        Comment

        Working...