Skip to content

Commit

Permalink
add object key in src for S3 acquis (#2342)
Browse files Browse the repository at this point in the history
  • Loading branch information
blotus authored Jul 7, 2023
1 parent 1295de9 commit f9ca14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/acquisition/modules/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ func (s *S3Source) readFile(bucket string, key string) error {
l.Time = time.Now().UTC()
l.Process = true
l.Module = s.GetName()
l.Src = bucket
l.Src = bucket + "/" + key
var evt types.Event
if !s.Config.UseTimeMachine {
evt = types.Event{Line: l, Process: true, Type: types.LOG, ExpectMode: types.LIVE}
Expand Down

0 comments on commit f9ca14f

Please sign in to comment.