Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10920

regexp included '\t' does not work properly

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 3.0.1
    • Agent (G)
    • None
    • RHEL 6

      logrt with regexp parameter include '\t' dose not work.
      For example, in log file:
      2016-06-20 10:00:00\tERROR\tError message
      2016-06-20 10:00:00\tINFO\tError message
      regexp pattern:
      ^[0-9- :]\tERROR

      logrt["/path/to/logfile", "^[0-9- :]\tERROR"]

      I expect that Error log only recorded to history_log table. But no log is recorded.

            Unassigned Unassigned
            htange Hideto Tange
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: