Skip to content

Commit

Permalink
[Packetbeat] Fix index to raw_index override for agent (#26418)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Stucki committed Jun 22, 2021
1 parent 794df17 commit afaad35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packetbeat/publish/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (p *TransactionPublisher) CreateReporter(
clientConfig.PublishMode = beat.DropIfFull
}
if meta.Index != "" {
clientConfig.Processing.Meta = common.MapStr{"index": meta.Index}
clientConfig.Processing.Meta = common.MapStr{"raw_index": meta.Index}
}

client, err := p.pipeline.ConnectWith(clientConfig)
Expand Down

0 comments on commit afaad35

Please sign in to comment.