summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ingestor.cpp4
-rw-r--r--src/ingestor.hpp2
2 files changed, 3 insertions, 3 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 "-"
diff --git a/src/ingestor.hpp b/src/ingestor.hpp
index 1a47a1b..e250072 100644
--- a/src/ingestor.hpp
+++ b/src/ingestor.hpp
@@ -63,7 +63,7 @@ namespace WebStat {
using ScanResult
= decltype(scn::scan<std::string_view, std::string_view, uint64_t, std::string_view, QuotedString,
- QueryString, std::string_view, uint16_t, uint64_t, uint32_t, CLFString, CLFString, CLFString>(
+ QueryString, std::string_view, uint16_t, uint64_t, uint64_t, CLFString, CLFString, CLFString>(
std::declval<std::string_view>(), ""));
using ScanValues = std::remove_cvref_t<decltype(std::declval<WebStat::Ingestor::ScanResult>()->values())>;