Skip to content

x-pack/filebeat/input: add IsPathIn and IsPathInLogsFor helpers and use IsPathInLogsFor in inputs#48719

Merged
efd6 merged 10 commits intoelastic:mainfrom
efd6:st15454-httplog
Feb 6, 2026
Merged

x-pack/filebeat/input: add IsPathIn and IsPathInLogsFor helpers and use IsPathInLogsFor in inputs#48719
efd6 merged 10 commits intoelastic:mainfrom
efd6:st15454-httplog

Conversation

@efd6
Copy link
Contributor

@efd6 efd6 commented Feb 5, 2026

Proposed commit message

See title.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works. Where relevant, I have used the stresstest.sh script to run them under stress conditions and race detector to verify their stability.
  • I have added an entry in ./changelog/fragments using the changelog tool.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

efd6 added 7 commits February 6, 2026 07:54
…alidate request trace destination

Also improve trace request validation for size and name presence.
…log.IsPathInLogsFor to validate request trace destination

Also improve trace request validation for size and name presence.
@efd6 efd6 self-assigned this Feb 5, 2026
@efd6 efd6 added enhancement Filebeat Filebeat Team:Security-Service Integrations Security Service Integrations Team backport-8.19 Automated backport to the 8.19 branch backport-9.2 Automated backport to the 9.2 branch backport-9.3 Automated backport to the 9.3 branch labels Feb 5, 2026
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Feb 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

@efd6 efd6 requested a review from chrisberkhout February 5, 2026 21:32
@efd6 efd6 marked this pull request as ready for review February 5, 2026 22:28
@efd6 efd6 requested review from a team as code owners February 5, 2026 22:28
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

Copy link
Contributor

@vishaangelova vishaangelova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc changes LGTM

Copy link
Contributor

@chrisberkhout chrisberkhout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. One linter issue that's worth fixing.

@efd6 efd6 merged commit 2dc4e33 into elastic:main Feb 6, 2026
15 of 18 checks passed
mergify bot pushed a commit that referenced this pull request Feb 6, 2026
…e logging (#48719)

(cherry picked from commit 2dc4e33)

# Conflicts:
#	docs/reference/filebeat/filebeat-input-cel.md
#	docs/reference/filebeat/filebeat-input-entity-analytics.md
#	docs/reference/filebeat/filebeat-input-http_endpoint.md
#	docs/reference/filebeat/filebeat-input-httpjson.md
mergify bot pushed a commit that referenced this pull request Feb 6, 2026
mergify bot pushed a commit that referenced this pull request Feb 6, 2026
efd6 added a commit that referenced this pull request Feb 6, 2026
…e logging (#48719) (#48742)

(cherry picked from commit 2dc4e33)

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
efd6 added a commit that referenced this pull request Feb 6, 2026
…e logging (#48719) (#48741)

(cherry picked from commit 2dc4e33)

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
efd6 added a commit that referenced this pull request Feb 7, 2026
…hInLogsFor helpers and use IsPathInLogsFor in inputs (#48740)

* x-pack/filebeat/input: improve log path sanitization for request trace logging (#48719)

(cherry picked from commit 2dc4e33)

# Conflicts:
#	docs/reference/filebeat/filebeat-input-cel.md
#	docs/reference/filebeat/filebeat-input-entity-analytics.md
#	docs/reference/filebeat/filebeat-input-http_endpoint.md
#	docs/reference/filebeat/filebeat-input-httpjson.md

* remove v9 changelog fragment
* remove v9 markdown documentation
* add asciidoc documentation
* add changelog entry
* add missing fmt import

---------

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
rdner added a commit that referenced this pull request Feb 10, 2026
The old Python-based `docker-compose` CLI is deprecated. All invocations are replaced with the official `docker compose` plugin (Go-based).

The current use of `docker-compose` is broken, this is fixing the root cause.
Also fixed failing tests on Windows introduced in #48719

Note:

* `--force-rm` told the old tool to remove intermediate containers after a build. Docker Compose V2 does this by default (standard Docker build behavior), so the flag was simply removed from all 4 locations.
* `--ignore-pull-failures` told the old tool to continue if pulling some images fails. Removed the flag and made the pull non-fatal instead, since the subsequent up command will build images if needed.

Assisted by Cursor.
mergify bot pushed a commit that referenced this pull request Feb 10, 2026
The old Python-based `docker-compose` CLI is deprecated. All invocations are replaced with the official `docker compose` plugin (Go-based).

The current use of `docker-compose` is broken, this is fixing the root cause.
Also fixed failing tests on Windows introduced in #48719

Note:

* `--force-rm` told the old tool to remove intermediate containers after a build. Docker Compose V2 does this by default (standard Docker build behavior), so the flag was simply removed from all 4 locations.
* `--ignore-pull-failures` told the old tool to continue if pulling some images fails. Removed the flag and made the pull non-fatal instead, since the subsequent up command will build images if needed.

Assisted by Cursor.

(cherry picked from commit dfd9525)

# Conflicts:
#	docs/devguide/testing.asciidoc
#	docs/extend/metricset-details.md
mergify bot pushed a commit that referenced this pull request Feb 10, 2026
The old Python-based `docker-compose` CLI is deprecated. All invocations are replaced with the official `docker compose` plugin (Go-based).

The current use of `docker-compose` is broken, this is fixing the root cause.
Also fixed failing tests on Windows introduced in #48719

Note:

* `--force-rm` told the old tool to remove intermediate containers after a build. Docker Compose V2 does this by default (standard Docker build behavior), so the flag was simply removed from all 4 locations.
* `--ignore-pull-failures` told the old tool to continue if pulling some images fails. Removed the flag and made the pull non-fatal instead, since the subsequent up command will build images if needed.

Assisted by Cursor.

(cherry picked from commit dfd9525)
mergify bot pushed a commit that referenced this pull request Feb 10, 2026
The old Python-based `docker-compose` CLI is deprecated. All invocations are replaced with the official `docker compose` plugin (Go-based).

The current use of `docker-compose` is broken, this is fixing the root cause.
Also fixed failing tests on Windows introduced in #48719

Note:

* `--force-rm` told the old tool to remove intermediate containers after a build. Docker Compose V2 does this by default (standard Docker build behavior), so the flag was simply removed from all 4 locations.
* `--ignore-pull-failures` told the old tool to continue if pulling some images fails. Removed the flag and made the pull non-fatal instead, since the subsequent up command will build images if needed.

Assisted by Cursor.

(cherry picked from commit dfd9525)
rdner added a commit that referenced this pull request Feb 10, 2026
…#48770)

The old Python-based `docker-compose` CLI is deprecated. All invocations are replaced with the official `docker compose` plugin (Go-based).

The current use of `docker-compose` is broken, this is fixing the root cause.
Also fixed failing tests on Windows introduced in #48719

Note:

* `--force-rm` told the old tool to remove intermediate containers after a build. Docker Compose V2 does this by default (standard Docker build behavior), so the flag was simply removed from all 4 locations.
* `--ignore-pull-failures` told the old tool to continue if pulling some images fails. Removed the flag and made the pull non-fatal instead, since the subsequent up command will build images if needed.

Assisted by Cursor.

(cherry picked from commit dfd9525)

Co-authored-by: Denis <denis.rechkunov@elastic.co>
rdner added a commit that referenced this pull request Feb 10, 2026
… docker compose (#48768)

The old Python-based `docker-compose` CLI is deprecated. All invocations are replaced with the official `docker compose` plugin (Go-based).

The current use of `docker-compose` is broken, this is fixing the root cause.
Also fixed failing tests on Windows introduced in #48719

Note:

* `--force-rm` told the old tool to remove intermediate containers after a build. Docker Compose V2 does this by default (standard Docker build behavior), so the flag was simply removed from all 4 locations.
* `--ignore-pull-failures` told the old tool to continue if pulling some images fails. Removed the flag and made the pull non-fatal instead, since the subsequent up command will build images if needed.

Assisted by Cursor.

(cherry picked from commit dfd9525)

# Conflicts:
#	docs/devguide/testing.asciidoc
#	docs/extend/metricset-details.md

* Delete docs/extend/metricset-details.md

* Resolve conflicts

---------

Co-authored-by: Denis <denis.rechkunov@elastic.co>
rdner added a commit that referenced this pull request Feb 10, 2026
…#48769)

The old Python-based `docker-compose` CLI is deprecated. All invocations are replaced with the official `docker compose` plugin (Go-based).

The current use of `docker-compose` is broken, this is fixing the root cause.
Also fixed failing tests on Windows introduced in #48719

Note:

* `--force-rm` told the old tool to remove intermediate containers after a build. Docker Compose V2 does this by default (standard Docker build behavior), so the flag was simply removed from all 4 locations.
* `--ignore-pull-failures` told the old tool to continue if pulling some images fails. Removed the flag and made the pull non-fatal instead, since the subsequent up command will build images if needed.

Assisted by Cursor.

(cherry picked from commit dfd9525)

Co-authored-by: Denis <denis.rechkunov@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-8.19 Automated backport to the 8.19 branch backport-9.2 Automated backport to the 9.2 branch backport-9.3 Automated backport to the 9.3 branch enhancement Filebeat Filebeat Team:Security-Service Integrations Security Service Integrations Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants