<feed xmlns='http://www.w3.org/2005/Atom'>
<title>haminer/config_test.go, branch main</title>
<subtitle>Library and program to parse and forward HAProxy HTTP logs.</subtitle>
<id>http://git.kilabit.info/haminer/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/haminer/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/'/>
<updated>2025-12-29T08:08:08Z</updated>
<entry>
<title>all: add missing SPDX license to all files</title>
<updated>2025-12-29T08:08:08Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-12-29T08:08:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=76df394598f5953a2cba14ca0f95c4d9e52e9469'/>
<id>urn:sha1:76df394598f5953a2cba14ca0f95c4d9e52e9469</id>
<content type='text'>
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.

</content>
</entry>
<entry>
<title>all: rename the forwarder files by using prefix "forwarder_"</title>
<updated>2024-03-18T14:55:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-17T10:57:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=b86893f6dd315cb253ec5479501791c500d82876'/>
<id>urn:sha1:b86893f6dd315cb253ec5479501791c500d82876</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: comply with all linters recommendations</title>
<updated>2024-03-16T11:07:08Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-16T11:07:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=f3043736f137e3bd37543af22dbca566db2bee81'/>
<id>urn:sha1:f3043736f137e3bd37543af22dbca566db2bee81</id>
<content type='text'>
Some of breaking changes,

* Field [Config.HttpUrl] renamed to [Config.HTTPURL]
* Field [ConfigForwarder.Url] renamed to [ConfigForwarder.URL]
* Struct [HttpLog] renamed to [HTTPLog]
</content>
</entry>
<entry>
<title>all: replace module "share" with "pakakeh.go"</title>
<updated>2024-03-16T10:40:06Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-16T10:40:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=e8e3cb778a2238fe915d05b690b9dbeb2c4e2a8a'/>
<id>urn:sha1:e8e3cb778a2238fe915d05b690b9dbeb2c4e2a8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: relicensing the haminer to GPL v3</title>
<updated>2022-08-18T17:04:13Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-18T17:04:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=7e7c491d186280ddaee508bd46ade6fa21058c78'/>
<id>urn:sha1:7e7c491d186280ddaee508bd46ade6fa21058c78</id>
<content type='text'>
See https://kilabit.info/journal/2022/gpl/ for more information.
</content>
</entry>
<entry>
<title>all: make the forwarders configuration fields to be generic</title>
<updated>2022-08-17T07:41:39Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-17T07:41:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=a3ea0c7bda6cae7a88af7dd005cd52ac40d42e57'/>
<id>urn:sha1:a3ea0c7bda6cae7a88af7dd005cd52ac40d42e57</id>
<content type='text'>
Instead of single forwarder, Influxd, the Config struct now can have
one or more forwarders.
The kind of forwarders is defined by it subsection name, for example
`[forwarder "influxd"]` defined a forwarder for influxd.
</content>
</entry>
<entry>
<title>all: rename struct InfluxdConfig to ConfigForwarder</title>
<updated>2022-08-17T07:07:20Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-17T07:07:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=e7476eed707355bbd0aa4e8fc1b3a025081068a0'/>
<id>urn:sha1:e7476eed707355bbd0aa4e8fc1b3a025081068a0</id>
<content type='text'>
Later we will have multiple forwarders, not only influxd.
</content>
</entry>
<entry>
<title>all: add support for influxd API v2</title>
<updated>2022-08-15T13:13:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-15T13:13:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=8a6eaebb36c0761b21398e72d934c072ac67fa7f'/>
<id>urn:sha1:8a6eaebb36c0761b21398e72d934c072ac67fa7f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>all: update the go.mod</title>
<updated>2022-08-14T07:49:23Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-13T18:02:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=2965b17ccc24abde2346c20ee1f9384ae6e12f20'/>
<id>urn:sha1:2965b17ccc24abde2346c20ee1f9384ae6e12f20</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>haminer: change buffered mode from max size to time interval</title>
<updated>2019-01-04T09:07:58Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2019-01-04T09:07:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/haminer/commit/?id=ba7bb17a36b5611ecd2a22c1d7393343c44cc8d3'/>
<id>urn:sha1:ba7bb17a36b5611ecd2a22c1d7393343c44cc8d3</id>
<content type='text'>
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).
</content>
</entry>
</feed>
