Skip to content

Commit

Permalink
[Heartbeat] Enable script processor (#23229)
Browse files Browse the repository at this point in the history
Enables the script processor for heartbeat. This is an opt-in processor, but there's really never been a concrete need for that. This fixes #22788 .
  • Loading branch information
andrewvc authored Jan 29, 2021
1 parent 560dd4b commit b89e5d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,10 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Provide more ways to set AWS credentials. {issue}12464[12464] {pull}23344[23344]
- Add support for multiple regions {pull}21065[21065]

*Heartbeat*

- Add support for script processor. {pull}23229[23229]

*Winlogbeat*

- Add more DNS error codes to the Sysmon module. {issue}15685[15685]
Expand Down
2 changes: 2 additions & 0 deletions heartbeat/beater/heartbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ import (
"github.com/elastic/beats/v7/libbeat/common/reload"
"github.com/elastic/beats/v7/libbeat/logp"
"github.com/elastic/beats/v7/libbeat/management"

_ "github.com/elastic/beats/v7/libbeat/processors/script"
)

// Heartbeat represents the root datastructure of this beat.
Expand Down
1 change: 0 additions & 1 deletion heartbeat/docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ include::{asciidoc-dir}/../../shared/attributes.asciidoc[]
:no_dashboards:
:no_decode_cef_processor:
:no_decode_csv_fields_processor:
:no_script_processor:
:no_timestamp_processor:

include::{libbeat-dir}/shared-beats-attributes.asciidoc[]
Expand Down

0 comments on commit b89e5d6

Please sign in to comment.