+++ title = "Logger Plugin" description = "Logger plugin logs HTTP requests" [menu.main] name = "Logger" parent = "plugins" weight = 3 +++
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:
|
Example
${remote_ip} ${status}