we can set escape= none to disable escaping double quotations but by a command like this: log_format graylog_format escape=none $request_final_log; access_log syslog:server=w.x.y.z:port,tag=,nohostname graylog_format; still there is a single Colon at the start of my message logs and it causes error on parsing json file without any extractor or regex checking in monitoring server! I wanna kby HadiAbbasiProgrammer - How to...
Hi I wanna try to send access_log via syslog in json format! this is my configuration! log_format graylog_format escape=json $request_final_log; access_log syslog:server=w.x.y.z:port,tag=,nohostname graylog_format; $request_final_log is a nginx variable which contains my json data at log phase but at final step, I can capture output data which has : character at start of json and I canby HadiAbbasiProgrammer - How to...
![]() |
![]() |
![]() |
![]() |
|