summaryrefslogtreecommitdiff
path: root/src/daq/nginx-lua/s5-nginx.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/daq/nginx-lua/s5-nginx.lua')
-rw-r--r--src/daq/nginx-lua/s5-nginx.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daq/nginx-lua/s5-nginx.lua b/src/daq/nginx-lua/s5-nginx.lua
index ac46224..2ae7e69 100644
--- a/src/daq/nginx-lua/s5-nginx.lua
+++ b/src/daq/nginx-lua/s5-nginx.lua
@@ -92,7 +92,7 @@ function _SFIVE.log()
json = json .. '"ua": "' .. ngx.var.http_user_agent .. '",'
json = json .. '"uri": "' .. ngx.var.uri .. '",'
json = json .. '"status": ' .. status .. ','
- json = json .. '"bytes_sent": ' .. ngx.var.bytes_sent
+ json = json .. '"bytes-sent": ' .. ngx.var.bytes_sent
json = json .. '}'
local ok, err, force = sfive_data:add(idx, json, config.log_exptime)