aboutsummaryrefslogtreecommitdiff
path: root/http_log.go
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.
2024-04-01all: do not log ServerName with invalid connection '<NOSRV>'Shulhan
2024-03-18all: implement forwarder for PostgresqlShulhan
The Postgresql forwarder accept single option "URL", [forwarder "postgresql"] url = postgres://<user>:<pass>@<host>/<database>?sslmode=<> The user and database must already created first, manually.
2024-03-18all: rename some fields in HTTPLog for readabilityShulhan
2024-03-18all: add unit test for ParseUDPPacketShulhan
The function signature to parse the UDP packet changes to return HTTPLog instead of as receiver.
2024-03-16all: comply with all linters recommendationsShulhan
Some of breaking changes, * Field [Config.HttpUrl] renamed to [Config.HTTPURL] * Field [ConfigForwarder.Url] renamed to [ConfigForwarder.URL] * Struct [HttpLog] renamed to [HTTPLog]
2024-03-16all: realign struct HttpLog and questdbClientShulhan
The HttpLog realign from 304 to 288 bytes. The questdbClient realign from 56 to 24 bytes.
2022-08-19all: relicensing the haminer to GPL v3Shulhan
See https://kilabit.info/journal/2022/gpl/ for more information.
2022-08-17all: implement forwarder for questdbShulhan
Questdb [1] is one the time-series database. We experiment to forward the HTTP log using Influx Line Protocol (ILP). [1]: https://questdb.io/
2022-08-17all: rename struct type Halog to HttpLogShulhan
Halog contains parsed HTTP log, so its make more readable if we rename the type name.