Skip to content

Commit 8abac48

Browse files
authored
Remove source.address if it is an empty string (#14898)
* Remove source.address if it is an empty string * Updating changelog with latest and link
1 parent 1817885 commit 8abac48

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

packages/slack/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.25.1"
3+
changes:
4+
- description: Fix handling of empty Slack `context.ip_address` fields.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/14898
27
- version: "1.25.0"
38
changes:
49
- description: Update Kibana constraint to support 9.0.0.

packages/slack/data_stream/audit/elasticsearch/ingest_pipeline/default.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ processors:
120120
- user_agent:
121121
field: user_agent.original
122122
ignore_failure: true
123+
- remove:
124+
field: slack.context.ip_address
125+
ignore_missing: true
126+
if: ctx.slack?.context?.ip_address == ""
123127
- rename:
124128
field: slack.context.ip_address
125129
target_field: source.address

packages/slack/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: "3.0.2"
22
name: slack
33
title: "Slack Logs"
4-
version: "1.25.0"
4+
version: "1.25.1"
55
description: "Slack Logs Integration"
66
type: integration
77
categories:

0 commit comments

Comments
 (0)