aboutsummaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2019-01-04 11:19:00 +0700
committerShulhan <ms@kilabit.info>2019-01-04 15:15:35 +0700
commitd7739491bdadf7b936095dcc2ba09f57e2f3a322 (patch)
treeccfdcc3e4042f4a976db57569a1037c4b59d4c76 /testdata
parent49e7d14699b299dffa835b2a9240e2f03e8d0dd3 (diff)
downloadhaminer-d7739491bdadf7b936095dcc2ba09f57e2f3a322.tar.xz
Add option to preprocess http_url
Diffstat (limited to 'testdata')
-rw-r--r--testdata/haminer.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/testdata/haminer.conf b/testdata/haminer.conf
index a635dcd..4e3bf5b 100644
--- a/testdata/haminer.conf
+++ b/testdata/haminer.conf
@@ -3,3 +3,8 @@ listen = 0.0.0.0:8080
accept_backend = ,a , b,
capture_request_header = , host, referrer,
influxdb_api_write = http://127.0.0.1:8086/write
+
+[preprocess "tag"]
+http_url = /[0-9]+-\\w+-\\w+-\\w+-\\w+-\\w+ => /-
+http_url = /\\w+-\\w+-\\w+-\\w+-\\w+ => /-
+http_url = /[0-9]+ => /-