Audit Log¶
Added in version 0.5.
The Audit log (or Audit Trail) is a core system of HARP that stores all transactions passing through the proxy (HTTP requests and responses, whether or not forwarded to a remote backend) in a storage for future inspection.
Turned on by default, it allows to see the transaction content on the HARP dashboard. Transactions are cleaned up by the Janitor application after a configured delay (by default, 2 months).
Enabled by default, it allows viewing transaction content on the HARP dashboard. Transactions are cleaned up by the Janitor Application after a configured delay (default is 2 months).
It is implemented by two applications working together:
In the Proxy Application, the
HttpProxyController
dispatches transaction-related events.In the Storage Application, the
StorageAsyncWorkerQueue
reacts to these events and attempts to store them asynchronously in a storage.
Occasionally, high network pressure may cause the background worker to skip storing transaction data to maintain the system’s ability to process requests.