hariom282538 / graylog-content-pack-haproxy-json

A Content Pack for Graylog2/Graylog3 which supports HTTP Real-Time logging and Monitoring from HAProxy[1.5/1.8].
MIT License
24 stars 15 forks source link

gl2_processing_error with graylog 3, "unexpected character code 46" #7

Closed TheRede closed 1 year ago

TheRede commented 1 year ago

Thanks for the hard work you put into the project! I am receiving gl2_processing_error

Could not apply extractor <Extract JSON fields (15adfb62-d840-4a6f-828f-a35daf2a3cd4)> - Unexpected character ('.' (code 46)): Expected space separating root-level values at [Source: (String)"IP_ADDRESS:PORT [20/Oct/2022:20:09:52.033] vfrontend~ vbackend/backend-n2 0/0/0/2/2 200 781 - - ---- 2/1/0/0/0 0/0 {DOMAIN|Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0|DOMAIN/URL.html|} "GET /URL_2.html HTTP/1.1"$"; line: 1, column: 9].

Tried loading the log format file from the issue #4 but did no help, debugging deeper now

TheRede commented 1 year ago

was solved by redeploying the stack from the beginning, I believe logging was active with basic HTTP log feature on HAPRoxy side. Thanks)