| Age | Commit message (Collapse) | Author |
|
Halog contains parsed HTTP log, so its make more readable if we rename
the type name.
|
|
Instead of using struct UDPPacket to read UDP packet from HAproxy log,
simplify it by using fixed, reusable size of []byte directly.
|
|
Previously, if no logs received after 15 seconds (or any interval user
defined in Config.ForwardInterval), the haminer process send an empty
halog to forwarders (empty halog is the one that use "-" for backend,
frontend, server name, and HTTP method).
This cause bogus traffic and need additional filter when analyzed.
|
|
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.
|
|
An administrator may need to monitor if the haminer service is running or
not through kapacitor. With heartbeat, we can tell if haminer is not
running if no data is send along, say, one hour.
|
|
|
|
|
|
|
|
|