NGINX logging tab delimited format to syslog
zxcvbn4038 at gmail.com
Sat Feb 27 19:46:51 UTC 2016
Thank you! I've got it all set up now, thanks for the pointer to $
On Thu, Feb 25, 2016 at 6:25 PM, Ekaterina Kukushkina <ek at nginx.com> wrote:
> Hello CJ,
> > On 26 Feb 2016, at 00:50, CJ Ess <zxcvbn4038 at gmail.com> wrote:
> > I would really like to output my nginx access log to syslog in a tab
> delimited format.
> > I'm using the latest nginx and rsyslogd 7.2.5
> > I haven't found an example of doing this, I'm wondering if/how to add
> tabs to the format in the log_format directive
> Just use '\t' instead of ' ' in your log_format.
> For example:
> log_format tabbed
> > And also if there is anything I need to do to syslogd to pass through
> the tab characters.
> By default, rsyslog convert control characters to their ASCII values (#011
> in case
> of Tab). You may prevent this behavior by setting
> to off.
> > Any help appreciated!
> Ekaterina Kukushkina
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx