diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-07-05 17:12:53 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-07-05 17:12:53 +0100 |
| commit | cb47664b464331b88dad62796729fe08f07f30e4 (patch) | |
| tree | 8fd0536b57fa0c2ea95b68e0a8beabd2d83da911 /src/ingestor.cpp | |
| parent | 870aa90c005f77a73445f5c39f9fd9bbb7604fe8 (diff) | |
| download | webstat-cb47664b464331b88dad62796729fe08f07f30e4.tar.bz2 webstat-cb47664b464331b88dad62796729fe08f07f30e4.tar.xz webstat-cb47664b464331b88dad62796729fe08f07f30e4.zip | |
Update parsed type of duration field
uint32_t doesn't cut it, changed to uint64_t.
Diffstat (limited to 'src/ingestor.cpp')
| -rw-r--r-- | src/ingestor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ingestor.cpp b/src/ingestor.cpp index c06fd1c..41dd24f 100644 --- a/src/ingestor.cpp +++ b/src/ingestor.cpp @@ -193,8 +193,8 @@ namespace WebStat { QueryString, // query_string : "%q" : "?query=string" or "" std::string_view, // protocol : %r : HTTPS/2.0 uint16_t, // status : %>s : 200 - uint64_t, // size : %B : 1234 - uint32_t, // duration : %D : 1234 + uint64_t, // size (bytes) : %B : 1234 + uint64_t, // duration (µs) : %D : 1234 CLFString, // referrer : "%{Referer}i" : "https://google.com/whatever" or "-" CLFString, // user_agent : "%{User-agent}i" : "Chromium v123.4" or "-" CLFString // content_type : "%{Content-type}o" : "test/plain" or "-" |
