regexp included '\t' does not work properly

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 3.0.1
    • Component/s: Agent (G)
    • None
    • Environment:
      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.

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

              Created:
              Updated:
              Resolved: