Logger Plugin

Logs HTTP requests

Configuration

Name Type Value Description
name string logger Plugin name
format string {"time":"${time_rfc3339_nano}", "remote_ip":"${remote_ip}", "host":"${host}", "method":"${method}", "uri":"${uri}", "status":${status}, "latency":${latency}, "latency_human":"${latency_human}", "bytes_in":${bytes_in}, "bytes_out":${bytes_out}} (default) Log format which can be constructed using the following tags:
  • time_unix
  • time_unix_nano
  • time_rfc3339
  • time_rfc3339_nano
  • id (Request ID - Not implemented)
  • remote_ip
  • uri
  • host
  • method
  • path
  • referer
  • user_agent
  • status
  • latency (In microseconds)
  • latency_human (Human readable)
  • bytes_in (Bytes received)
  • bytes_out (Bytes sent)
  • header:<NAME>
  • query:<NAME>
  • form:<NAME>

Example

${remote_ip} ${status}