aboutsummaryrefslogtreecommitdiff
path: root/testdata/haminer.conf
AgeCommit message (Collapse)Author
2025-12-29all: add missing SPDX license to all filesShulhan
Convert the old ".reuse/dep5" format to REUSE.toml format using "reuse convert-dep5" command. For generated files, add the ".license" file. Using "reuse annotate ..." it automatically add empty line after "SPDX-FileCopyrightText:", and it also put "SPDX-FileCopyrightText" above the "SPDX-License-Identifier". Now, this project is compliant with version 3.3 of the REUSE Specification.
2022-08-15all: add support for influxd API v2Shulhan
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.
2022-08-14all: update the go.modShulhan
Set the minimum Go to 1.18 and update the share modules. When this program written, the ini library does not have the Unmarshal function, so we load the configuration by reading each key and parse it manually. Now that we have Unmarshal function, the way we parse the configuration is simplified so does the way configuration written. This changes the accept_backend, capture_request_header written. Instead of using comma to set multiple values, now it must be written one key and one value on different line.
2019-01-04haminer: change buffered mode from max size to time intervalShulhan
Previously, we forward the logs only if total collected logs in buffer is greater or equal to 10. This commit change the model into using time interval, where the logs will be send every N seconds (default to 15 seconds).
2019-01-04Add option to preprocess http_urlShulhan
2019-01-04config: change the capture request header separator to commaShulhan
This is to make it consistent with separator on "accept_backend".
2019-01-04config: replace configuration with ini file formatShulhan