Skip to content

Instantly share code, notes, and snippets.

@jpmens
Created September 4, 2017 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpmens/9037c74afdeea7dddd508384f2b22316 to your computer and use it in GitHub Desktop.
Save jpmens/9037c74afdeea7dddd508384f2b22316 to your computer and use it in GitHub Desktop.
minio bucket notification MQTT
{
"EventType": "s3:ObjectCreated:Put",
"Key": "play1/j1.txt",
"Records": [
{
"eventVersion": "2.0",
"eventSource": "minio:s3",
"awsRegion": "west-wing",
"eventTime": "2017-09-04T09:22:31Z",
"eventName": "s3:ObjectCreated:Put",
"userIdentity": {
"principalId": "xxxxxxxxx"
},
"requestParameters": {
"sourceIPAddress": "192.168.1.130:53175"
},
"responseElements": {
"x-amz-request-id": "14E11E32397D42C4",
"x-minio-origin-endpoint": "http://127.0.0.1:9000"
},
"s3": {
"s3SchemaVersion": "1.0",
"configurationId": "Config",
"bucket": {
"name": "play1",
"ownerIdentity": {
"principalId": "xxxxxxxxx"
},
"arn": "arn:aws:s3:::play1"
},
"object": {
"key": "j1.txt",
"size": 488,
"eTag": "f22d66a7d0dbbc4a7cf1122eeeb1a106",
"contentType": "text/plain; charset=utf-8",
"userDefined": {
"content-type": "text/plain; charset=utf-8"
},
"versionId": "1",
"sequencer": "14E11E32397D42C4"
}
},
"source": {
"host": "192.168.1.130",
"port": "53175",
"userAgent": "Minio (darwin; amd64) minio-go/2.0.4 mc/2017-06-15T03:38:43Z"
}
}
],
"level": "info",
"msg": "",
"time": "2017-09-04T11:22:31+02:00"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment