mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
events: ElasticSearch doesnt support objects with '/' in them. (#2747)
Fix this by using a unique sha256 generated for each unique key.
This commit is contained in:
@@ -204,7 +204,7 @@ func eventNotify(event eventData) {
|
||||
targetLog := globalEventNotifier.GetQueueTarget(qConfig.QueueARN)
|
||||
if targetLog != nil {
|
||||
targetLog.WithFields(logrus.Fields{
|
||||
"Key": objectName,
|
||||
"Key": path.Join(event.Bucket, objectName),
|
||||
"EventType": eventType,
|
||||
"Records": notificationEvent,
|
||||
}).Info()
|
||||
|
||||
Reference in New Issue
Block a user