Hi,
I have configured logformat configuration as following lines:
[nginx_access_decoder.config]
type = "nginx.access"
log_format = '$remote_addr - [$time_local] "$request_time
$upstream_response_time $gzip_ratio" "$server_name" "$request" $status
$body_bytes_sent "$http_referer" "$http_user_ag
sorry, the above $cookie_username was broken when being copied from two
lines. The real variable name is $cookie_username, no blank within.
On Thu, Jan 22, 2015 at 4:39 PM, Yanhong Wu wrote:
> Hi,
>
> I have configured logformat configuration as following lines:
>
> [nginx_access_decoder.config
The log_format configuration does not match the sample output you provided
(beginning at $request_time)
On Thu, Jan 22, 2015 at 12:43 AM, Yanhong Wu wrote:
> sorry, the above $cookie_username was broken when being copied from two
> lines. The real variable name is $cookie_username, no blank with
After may errors and trials, I found out it was actually gzip_ratio and
userid:$cookie_userid causing the parsing issues.
$gzip_ratio should be a number, but my sample output is a hyphen;
userid:$cookie_userid should have log changed and userid: part removed.
I have successfully run the daemon
4 matches
Mail list logo