mirror of
https://github.com/buckit-io/buckit.git
synced 2026-09-21 01:53:31 +00:00
18 lines
450 B
Markdown
18 lines
450 B
Markdown
# `auditlog-echo`: A tool to view Buckit Audit logs on the console
|
|
|
|
1. Run the tool with:
|
|
|
|
```
|
|
go run docs/auditlog/auditlog-echo.go
|
|
```
|
|
|
|
The listen port has a default value (8080), but can be set with the `-port` flag.
|
|
|
|
2. Configure audit logging in Buckit with for example:
|
|
|
|
```
|
|
mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
|
|
```
|
|
|
|
3. Make any requests to Buckit and see audit logs printed to the tool's console.
|