Welcome! Log In Create A New Profile

Advanced

Re: Nginx access log query string params per line.

Francis Daly
February 05, 2019 02:56PM
On Thu, Jan 31, 2019 at 05:25:00PM -0500, c0nw0nk wrote:

Hi there,

> The access.log file shows
>
> query1=param1&query2=param2
>
> All on the same line isit possible to split these up onto diifferent lines.
>
> Example.
>
> query1=param1
>
> query2=param2

I think "no", using just stock nginx config.

However -- is it acceptable to post-process the log file?

tr '&' '\n' < access.log

is one way to see what you want, without changing what nginx logs.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx access log query string params per line.

c0nw0nk January 31, 2019 05:25PM

Re: Nginx access log query string params per line.

Francis Daly February 05, 2019 02:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 282
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready