Skip to content

Commit

Permalink
Register javascript modules (#11384)
Browse files Browse the repository at this point in the history
Register modules with the script processor.
  • Loading branch information
andrewkroh authored Mar 22, 2019
1 parent 5de8ebb commit f94182e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libbeat/processors/script/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ import (
"github.com/elastic/beats/libbeat/common"
"github.com/elastic/beats/libbeat/processors"
"github.com/elastic/beats/libbeat/processors/script/javascript"

// Register javascript modules with the processor.
_ "github.com/elastic/beats/libbeat/processors/script/javascript/module"
)

func init() {
Expand Down

0 comments on commit f94182e

Please sign in to comment.