diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-15 20:13:55 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-15 20:13:55 +0700 |
| commit | 8a6eaebb36c0761b21398e72d934c072ac67fa7f (patch) | |
| tree | 35150d19108888fb2c85b6d4743411121de4e493 /testdata | |
| parent | 2965b17ccc24abde2346c20ee1f9384ae6e12f20 (diff) | |
| download | haminer-8a6eaebb36c0761b21398e72d934c072ac67fa7f.tar.xz | |
all: add support for influxd API v2
This changes replace the "influxdb_api_write" with new section
`[forwarder "influxd"]`.
The section contains version, url, org, bucket, user, password, and
token.
The version field define the API version to be used when writing log
to Influxd.
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/haminer.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testdata/haminer.conf b/testdata/haminer.conf index e0b1d70..1968bd2 100644 --- a/testdata/haminer.conf +++ b/testdata/haminer.conf @@ -4,7 +4,6 @@ accept_backend = a accept_backend = b capture_request_header = host capture_request_header = referrer -influxdb_api_write = http://127.0.0.1:8086/write forward_interval = 20s [preprocess "tag"] @@ -13,3 +12,7 @@ http_url = /[0-9]+-\\w+-\\w+-\\w+-\\w+-\\w+ => /- http_url = /\\w+-\\w+-\\w+-\\w+-\\w+ => /- http_url = /[0-9]+ => /- + +[forwarder "influxd"] +url = http://127.0.0.1:8086 +org = kilabit.info |
