Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beats event processing and default fields #10801

Merged
merged 13 commits into from
Mar 8, 2019
Prev Previous commit
Next Next commit
fix functionbeat build
  • Loading branch information
urso committed Mar 8, 2019
commit ccfeeac99b984ad2cc9c35c3c6a75b0316a3cef8
8 changes: 5 additions & 3 deletions x-pack/functionbeat/beater/functionbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ func makeClientFactory(log *logp.Logger, manager *licenser.Manager, pipeline bea
}

client, err := core.NewSyncClient(log, pipeline, beat.ClientConfig{
PublishMode: beat.GuaranteedSend,
Processor: processors,
EventMetadata: c.EventMetadata,
PublishMode: beat.GuaranteedSend,
Processing: beat.ProcessingConfig{
Processor: processors,
EventMetadata: c.EventMetadata,
},
})

if err != nil {
Expand Down