Publish audit logs to HTTP webhook
AIStor supports publishing audit logs to one or more configured remote webhook receivers. AIStor send an event for each API operation to the receiver for processing and storage.
The receiver is responsible for correctly processing events, including returning 200OK
or similar success messages upon receipt of the event.
AIStor cannot recover events that were successfully sent but not correctly stored on the receiver.
You can configure a new HTTP audit webhook endpoint using either environment variables or runtime configuration settings:
For options that require specifying a directory path, ensure the minio-user
user and group have read, write, and list access to those resources.
Where possible use chown
and chmod
to limit access and ownership to only the minio-user
.
Restart the Object Store to apply the new settings.
You can specify multiple webhook loggers by appending a unique identifier to each group of environment variables or settings.
For example, MINIO_LOGGER_WEBHOOK_ENDPOINT_PRIMARY
or mc admin config set alias logger_webhook:primary
.