My friends (ops old driver):
For logstash I need some help
nginx log log_format as follows:
'$proxy_add_x_forwarded_for $remote_user [$time_local] "$request" $http_host'
'$body_bytes_sent $request_body "$http_referer" "$http_user_agent" $ssl_protocol $ssl_cipher'
'$request_time [$status] [$upstream_status] [$upstream_response_time] "$upstream_addr"';
logstash-nginx.conf:
filter {
grok {
match => {"log_format As above,How should this place be written?" }
}
}
thanks