[8.19](backport #47931) [beatreceivers] skip caller by one in beats auth extension
Proposed commit message
This PR skips log caller by 1. Logs before this change looked like this
{"log.level":"error","@timestamp":"2025-12-05T15:07:32.959+0530","message":"Error dialing dial tcp 127.0.0.1:9200: connect: connection refused","log.origin":{"file.line":251,"file.name":"logp/logger.go","function":"github.com/elastic/elastic-agent-libs/logp.(*Logger).Errorf"},...
This is an automatic backport of pull request #47931 done by [Mergify](https://mergify.com).
Cherry-pick of 60555ff8cf3857f5f45242238b63b3e4d66f05a6 has failed:
On branch mergify/bp/8.19/pr-47931
Your branch is up to date with 'origin/8.19'.
You are currently cherry-picking commit 60555ff8c.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Changes to be committed:
modified: x-pack/otel/extension/beatsauthextension/authenticator.go
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: x-pack/libbeat/outputs/otelconsumer/otelconsumer.go
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
This pull request has not been merged yet. Could you please review and merge it @khushijain21? 🙏
This pull request has not been merged yet. Could you please review and merge it @khushijain21? 🙏