diff --git a/src/fr/devinsy/statoolinfos/metrics/libreqr/LibreQRHttpLogAnalyzer.java b/src/fr/devinsy/statoolinfos/metrics/libreqr/LibreQRHttpLogAnalyzer.java index 5281307..67b0d67 100644 --- a/src/fr/devinsy/statoolinfos/metrics/libreqr/LibreQRHttpLogAnalyzer.java +++ b/src/fr/devinsy/statoolinfos/metrics/libreqr/LibreQRHttpLogAnalyzer.java @@ -96,7 +96,7 @@ public class LibreQRHttpLogAnalyzer // metrics.service.users.ipv4 // metrics.service.users.ipv6 // metrics.barcodes.count - if (USE_PATTERN.matcher(log.getRequest()).matches()) + if ((!log.isBot()) && (USE_PATTERN.matcher(log.getRequest()).matches())) { String key = String.format("%s---%s", log.getIp(), log.getUserAgent());