Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
address review comments
  • Loading branch information
kcreddy committed Aug 21, 2026
commit 4afa90bc6a4b1c7e80354c62ac10e6ad49310817
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,14 @@ processors:
description: Appends any relevant entity to `related.entity` for all events
lang: painless
on_failure:
- set:
tag: set_error_message_679c76c6
description: Adds error reason to the document
- append:
tag: append_error_message_bd55f3fe
field: error.message
value: "{{{ _ingest.on_failure_message }}}"
value: >-
Processor '{{{ _ingest.on_failure_processor_type }}}'
{{{#_ingest.on_failure_processor_tag}}}with tag '{{{ _ingest.on_failure_processor_tag }}}'
{{{/_ingest.on_failure_processor_tag}}}failed with message '{{{ _ingest.on_failure_message }}}'
allow_duplicates: false
source: |
void addValue(Set entities, def value) {
if (value != null && value != "") {
Expand Down Expand Up @@ -262,11 +265,14 @@ processors:
description: Classify actor and target entities into type-specific fields
lang: painless
on_failure:
- set:
tag: set_error_message_f032c8ea
description: Adds error reason to the document
- append:
tag: append_error_message_47a05ef0
field: error.message
value: "{{{ _ingest.on_failure_message }}}"
value: >-
Processor '{{{ _ingest.on_failure_processor_type }}}'
{{{#_ingest.on_failure_processor_tag}}}with tag '{{{ _ingest.on_failure_processor_tag }}}'
{{{/_ingest.on_failure_processor_tag}}}failed with message '{{{ _ingest.on_failure_message }}}'
allow_duplicates: false
source: |
void addNestedValue(def currentCtx, String path, def value) {
if (value == null || value == "") {
Expand Down Expand Up @@ -574,7 +580,7 @@ processors:
- script:
lang: painless
description: set event.category and type for long running operation
tag: set-event-type-for-long-operations_9e495b64
tag: set_event_type_for_long_operations_9e495b64
if: ctx.json?.operation != null
source: |
def first = (ctx.json.operation.first == null) ? false : ctx.json.operation.first;
Expand Down
Loading