diff options
| author | Shulhan <ms@kilabit.info> | 2019-01-24 00:33:25 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-01-24 00:33:25 +0700 |
| commit | 6dc3fbb174ef711682331687d39d11df1feb7121 (patch) | |
| tree | 8ee459394cc0d8a97433160441d2c3ab20066676 | |
| parent | 3f883c1cc42a63fa3715b74d60b0e0c2b650f962 (diff) | |
| download | haminer-6dc3fbb174ef711682331687d39d11df1feb7121.tar.xz | |
cmd/haminer: update description of preprocess option
| -rw-r--r-- | cmd/haminer/haminer.conf | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cmd/haminer/haminer.conf b/cmd/haminer/haminer.conf index 1d70759..8be012c 100644 --- a/cmd/haminer/haminer.conf +++ b/cmd/haminer/haminer.conf @@ -81,18 +81,16 @@ #forward_interval = 15s ## -## Pre-process tag by substituting replacing their value using regular -## expression. +## Pre-process tag by replacing its value using regular expression. ## Each pre-process rules is run from top to bottom, which means if we have ## two or more rules with the same key, the output of first pre-process will -## be used as an input # for the second rule. +## be used as an input for the second rule. ## ## Currently only accept "http_url" as the key. ## ## Format ## -## TAG-NAME "=" (DQUOTE regex DQUOTE) "=>" (DQUOTE replacement DQUOTE) -## DQUOTE = '"' ; a double-quote +## TAG-NAME "=" regex "=>" replacement ## ## Examples ## @@ -113,7 +111,7 @@ ## /uuid/9845a0b4-f4c3-4600-af13-45b5b0e61630 ## ## will result in "/uuid/-a0b4-f4c3-4600-af13-45b5b0e61630", not "/uuid/-" as -## you expected. +## you would expected. ## ## So, please be careful on how you define the rules. ## |
