Skip to content

cisco*: ensure event.kind is correctly set for pipeline errors #6600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions packages/cisco_aironet/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.4.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6600
- version: "1.3.0"
changes:
- description: Update package to ECS 8.8.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,10 @@ processors:
ignore_failure: true
ignore_missing: true




on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{ _ingest.on_failure_message }}'
value: '{{{ _ingest.on_failure_message }}}'
2 changes: 1 addition & 1 deletion packages/cisco_aironet/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 2.7.0
name: cisco_aironet
title: "Cisco Aironet"
version: "1.3.0"
version: "1.4.0"
description: "Integration for Cisco Aironet WLC Logs"
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/cisco_asa/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.18.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6600
- version: "2.17.1"
changes:
- description: Fix VPN event.action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2595,6 +2595,9 @@ on_failure:
- _temp_
- _conf
ignore_missing: true
- set:
field: event.kind
value: pipeline_error
- append:
field: "error.message"
value: "{{{ _ingest.on_failure_message }}}"
2 changes: 1 addition & 1 deletion packages/cisco_asa/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: cisco_asa
title: Cisco ASA
version: "2.17.1"
version: "2.18.0"
license: basic
description: Collect logs from Cisco ASA with Elastic Agent.
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/cisco_duo/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.13.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6600
- version: "1.12.0"
changes:
- description: Update package to ECS 8.8.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ processors:
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{_ingest.on_failure_message}}}'
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,9 @@ processors:
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{_ingest.on_failure_message}}}'
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ processors:
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{_ingest.on_failure_message}}}'
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ processors:
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{_ingest.on_failure_message}}}'
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ processors:
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{_ingest.on_failure_message}}}'
2 changes: 1 addition & 1 deletion packages/cisco_duo/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 2.7.0
name: cisco_duo
title: Cisco Duo
version: "1.12.0"
version: "1.13.0"
description: Collect logs from Cisco Duo with Elastic Agent.
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/cisco_ftd/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.13.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6600
- version: "2.12.1"
changes:
- description: Fix VPN event.action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2435,6 +2435,9 @@ on_failure:
- _temp_
- _conf
ignore_missing: true
- set:
field: event.kind
value: pipeline_error
- append:
field: "error.message"
value: "{{{ _ingest.on_failure_message }}}"
2 changes: 1 addition & 1 deletion packages/cisco_ftd/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: cisco_ftd
title: Cisco FTD
version: "2.12.1"
version: "2.13.0"
license: basic
description: Collect logs from Cisco FTD with Elastic Agent.
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/cisco_ise/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.9.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6600
- version: "1.8.0"
changes:
- description: Update package to ECS 8.8.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ processors:
}
dropEmptyFields(ctx);
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{_ingest.on_failure_message}}}'
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,10 @@ processors:
target_field: cisco_ise.log.ad.srv.record
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -527,3 +527,10 @@ processors:
if: ctx.user?.name != null
allow_duplicates: false
ignore_failure: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,10 @@ processors:
target_field: cisco_ise.log.workflow.sequence.type
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -637,3 +637,10 @@ processors:
- remove:
field: cisco_ise.log.log_details.User-Name
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,10 @@ processors:
if: ctx.cisco_ise?.log?.guest?.user?.name != null
allow_duplicates: false
ignore_failure: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,10 @@ processors:
- lowercase:
field: network.protocol
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,10 @@ processors:
target_field: cisco_ise.log.error.message
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,10 @@ processors:
target_field: cisco_ise.log.endpoint.coa
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -551,3 +551,10 @@ processors:
- lowercase:
field: network.protocol
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,10 @@ processors:
- _tmp
- cisco_ise.log.log_details_raw
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,10 @@ processors:
if: ctx.client?.user?.name != null
allow_duplicates: false
ignore_failure: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -362,3 +362,10 @@ processors:
target_field: cisco_ise.log.undefined_52
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,10 @@ processors:
value: '{{{user.name}}}'
allow_duplicates: false
ignore_failure: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,10 @@ processors:
target_field: cisco_ise.log.sysstats.utilization.network
ignore_failure: true
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,10 @@ processors:
field_split: '; '
value_split: =
ignore_failure: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,10 @@ processors:
target_field: cisco_ise.log.connectivity
ignore_failure: true
ignore_missing: true

on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
2 changes: 1 addition & 1 deletion packages/cisco_ise/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: cisco_ise
title: Cisco ISE
version: "1.8.0"
version: "1.9.0"
license: basic
description: Collect logs from Cisco ISE with Elastic Agent.
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/cisco_meraki/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.10.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6600
- version: "1.9.0"
changes:
- description: Update package-spec version to 2.7.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,8 @@ processors:

on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{ _ingest.on_failure_message }}'
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,10 @@ processors:
- rename:
field: _temp.kv.fc_subtype
target_field: cisco_meraki.fc_subtype
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Loading