Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8411

Allow log time format year to accept 2 placeholders instead of 4

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Frontend (F)
    • None

      Some logs which the date is formatted as MM/dd/yy by default does not seems to be accepted by the Frontend Log time format, while MM/dd/yyyy works correctly as expected, filling the "Local time" field on Latest data. 

      From the docs: 

      Supported placeholders:
      * y: Year (0001-9999)
      * M: Month (01-12)
      * d: Day (01-31)
      * h: Hour (00-23)
      * m: Minute (00-59)
      * s: Second (00-59)

      Examples: 
      Log time format - MM/dd/yy hh:mm:ss
      Log entry:

      06/10/19 07:52:32.427 [003096,000620] [9272] CCL:CCL8058I Client daemon error and security pop-ups have been disabled

      Log time format - MM/dd/yyyy hh:mm:ss
      Log entry:

      06/10/19 07:52:32.427 [003096,000620] [9272] CCL:CCL8058I Client daemon error and security pop-ups have been disabled

      It would be interesting to have the Log time format to accept any possible outcome from different types of log entries.

            vmurzins Valdis Murzins
            vcredidio Victor Breda Credidio
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: