Skip to content

Commit

Permalink
filebeat/module/{iis,o365}: Fix uri_parts ingest pipeline processor o…
Browse files Browse the repository at this point in the history
…utput wrong extension (#38216)

* Fix incorrect values in url-extensions

* updated the effected version in snapshots.yml
  • Loading branch information
muthu-mps committed Mar 13, 2024
1 parent 843010c commit 8af7d19
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ fields added to events containing the Beats version. {pull}37553[37553]
- Prevent HTTPJSON holding response bodies between executions. {issue}35219[35219] {pull}38116[38116]
- Fix "failed processing S3 event for object key" error on aws-s3 input when key contains the "+" character {issue}38012[38012] {pull}38125[38125]
- Fix duplicated addition of regexp extension in CEL input. {pull}38181[38181]
- Fix the incorrect values generated by the uri_parts processor. {pull}38216[38216]

*Heartbeat*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"source.geo.region_name": "England",
"source.ip": "81.2.69.145",
"source.port": 12345,
"url.extension": "1",
"url.original": "12.2.1",
"url.path": "12.2.1"
},
Expand Down Expand Up @@ -83,7 +82,6 @@
"source.geo.region_name": "England",
"source.ip": "81.2.69.145",
"source.port": 12345,
"url.extension": "/",
"url.original": "./././././../../../../../../../../",
"url.path": "./././././../../../../../../../../"
},
Expand Down Expand Up @@ -343,4 +341,4 @@
"url.original": "/fee&fie=foe",
"url.path": "/fee&fie=foe"
}
]
]
6 changes: 3 additions & 3 deletions testing/environments/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
version: '2.3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.0-74a79bf3-SNAPSHOT
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.0-b9699c81-SNAPSHOT
# When extend is used it merges healthcheck.tests, see:
# https://github.com/docker/compose/issues/8962
# healthcheck:
Expand Down Expand Up @@ -31,7 +31,7 @@ services:
- "./docker/elasticsearch/users_roles:/usr/share/elasticsearch/config/users_roles"

logstash:
image: docker.elastic.co/logstash/logstash:8.14.0-74a79bf3-SNAPSHOT
image: docker.elastic.co/logstash/logstash:8.14.0-b9699c81-SNAPSHOT
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9600/_node/stats"]
retries: 600
Expand All @@ -44,7 +44,7 @@ services:
- 5055:5055

kibana:
image: docker.elastic.co/kibana/kibana:8.14.0-74a79bf3-SNAPSHOT
image: docker.elastic.co/kibana/kibana:8.14.0-b9699c81-SNAPSHOT
environment:
- "ELASTICSEARCH_USERNAME=kibana_system_user"
- "ELASTICSEARCH_PASSWORD=testing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,6 @@
"forwarded"
],
"url.domain": "example.net",
"url.extension": "com/sharepoint",
"url.original": "https://example.net/testsiem2.onmicrosoft.com/sharepoint",
"url.path": "/testsiem2.onmicrosoft.com/sharepoint",
"url.scheme": "https",
Expand All @@ -801,4 +800,4 @@
"user.id": "[email protected]",
"user.name": "alice"
}
]
]

0 comments on commit 8af7d19

Please sign in to comment.