Skip to content

Commit

Permalink
- added new line
Browse files Browse the repository at this point in the history
- refactor ingest pipeline drop processor condition
  • Loading branch information
ravikumar5555 committed Feb 19, 2025
1 parent 395ba4b commit 9794665
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,4 @@ rules:
}
]
# END EVENTS
# END EVENTS
2 changes: 1 addition & 1 deletion packages/admin_by_request_epm/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
changes:
- description: Initial release.
type: enhancement
link: https://github.com/elastic/integrations/pull/12402
link: https://github.com/elastic/integrations/pull/12402
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ publisher_pipeline.disable_host: true
processors:
{{processors}}
{{/if}}

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: Pipeline for processing Admin By Request EPM Audit logs
processors:
- drop:
if: ctx.error?.statuscode != null && ctx.error.statuscode != 200
if: ctx.error?.statuscode != 200

- rename:
field: message
Expand Down Expand Up @@ -202,4 +202,4 @@ on_failure:
value: '{{{_ingest.on_failure_message}}}'
- set:
field: event.kind
value: pipeline_error
value: pipeline_error
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@
description: Name of the antivirus engine with this result
- name: threat
type: keyword
description: Name of malware, if file is malicious or suspicious
description: Name of malware, if file is malicious or suspicious
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ numeric_keyword_fields:
- admin_by_request_epm.events.id
- admin_by_request_epm.events.event_level
- admin_by_request_epm.events.event_code

Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: Pipeline for processing sample logs
processors:
- drop:
if: ctx.error?.statuscode != null && ctx.error.statuscode != 200
if: ctx.error?.statuscode != 200

- rename:
field: message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@
description: Name of the antivirus engine with this result
- name: threat
type: keyword
description: Name of malware, if file is malicious or suspicious
description: Name of malware, if file is malicious or suspicious

0 comments on commit 9794665

Please sign in to comment.