mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Created S3 API Audit log (markdown)
parent
0a88de5e09
commit
42d8bb47f2
11
S3-API-Audit-log.md
Normal file
11
S3-API-Audit-log.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
### How do I enable log delivery?
|
||||
|
||||
```weed s3 -auditLogConfig=/etc/seaweedfs/auditLogConfig.json```
|
||||
|
||||
### Access log format
|
||||
|
||||
```
|
||||
{"requester":"bennu","host_id":"api-698ccd9645-sccv6","status":200,"time":1639395995,"operation":"REST.PUT.OBJECT","remote_ip":"10.106.70.45","signature_version":"SigV4","bucket":"bennu-client-files","user_agent":"Python/3.8 aiohttp/3.6.2","key":"/2021/12/13/a029a35d-b73c-42f1-9540-7f0370a17f7c","request_id":"c89f2a45eebc63f2b01aca823a1f6cba","host_header":"bennu-files.s3-proxy.svc","error_code":""}
|
||||
{"requester":"bennu","host_id":"api-698ccd9645-g8fht","status":200,"time":1639395992,"operation":"REST.GET.OBJECT","remote_ip":"10.106.70.45","signature_version":"SigV4","bucket":"bennu-client-files","user_agent":"Python/3.8 aiohttp/3.6.2","key":"/2021/12/13/69f82cd8-ff31-476d-aa53-5e1e2109b84c","request_id":"570ceb8d3b8c31d51070910a78b26045","host_header":"bennu-files.s3-proxy.svc","error_code":""}
|
||||
```
|
||||
|
Loading…
Reference in a new issue