Log time format does not support preprocessing

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None

      Steps to reproduce:

      1. Configure logrt item for a Zabbix agent on Linux:
        1. logrt item for file /tmp/test
        2. Log time format = yyyy-MM-dd hh:mm:ss
        3. Preprocessing rule: Regexp: .* -> 20\0 (= whatever string, add "20" in front of it)
      1. echo "23-08-31 18:22:05 testing" >> /tmp/test

      Result:

      Timestamp Local time Value
      2023-08-31 18:22:06   2023-08-31 18:22:05 testing

      = string conforms to the configured log time format but local time is not parsed.

      Expected:

      It is expected that the local time is parsed according to the log time format from the preprocessed string.

            Assignee:
            Facundo Vilarnovo
            Reporter:
            Markku Leiniö
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: