Skip to content

Commit

Permalink
[ecs] Upgrade okta to ecs 1.8.0 and move js processor to ingest pipel…
Browse files Browse the repository at this point in the history
…ine (elastic#23929)

* Upgrade okta to ecs 1.8.0 and move js processor to ingest pipeline

* Add description field and set _id properly
  • Loading branch information
marc-gr authored Feb 12, 2021
1 parent d7109a8 commit eeb5d23
Show file tree
Hide file tree
Showing 5 changed files with 538 additions and 232 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Upgrade sophos/xg fileset to ECS 1.8.0. {issue}23118[23118] {pull}23967[23967]
- Upgrade system/auth to ECS 1.8 {issue}23118[23118] {pull}23961[23961]
- Upgrade elasticsearch/audit to ECS 1.8 {issue}23118[23118] {pull}24000[24000]
- Upgrade okta to ecs 1.8.0 and move js processor to ingest pipeline {issue}23118[23118] {pull}23929[23929]

*Heartbeat*

Expand Down
16 changes: 10 additions & 6 deletions x-pack/filebeat/module/okta/system/config/input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,16 @@ tags: {{.tags | tojson}}
publisher_pipeline.disable_host: {{ inList .tags "forwarded" }}

processors:
- script:
lang: javascript
id: okta_system_script
file: ${path.home}/module/okta/system/config/pipeline.js
params:
keep_original_message: {{ .keep_original_message }}
- decode_json_fields:
fields:
- message
target: json
{{ if eq .keep_original_message true }}
- rename:
fields:
- from: message
to: event.original
{{ end }}
- add_fields:
target: ''
fields:
Expand Down
215 changes: 0 additions & 215 deletions x-pack/filebeat/module/okta/system/config/pipeline.js

This file was deleted.

Loading

0 comments on commit eeb5d23

Please sign in to comment.