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

regexp included '\t' does not work properly

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: