Skip to content

[9.6](backport #54046) Fix Google Workspace field typo and CometD retry log text - #54256

Open
mergify[bot] wants to merge 1 commit into
9.6from
mergify/bp/9.6/pr-54046
Open

mergify[bot] wants to merge 1 commit into
9.6from
mergify/bp/9.6/pr-54046

Conversation

@mergify

@mergify mergify Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

Fix Google Workspace field typo and CometD retry log text

- "the acccess scope was changed" -> "access" in the
  google_workspace.drive.target_domain description, in the _meta source
  and in both generated mirrors.
- Reword the CometD collection-retry log message. "Retrying...! facing
  issue while collecting data from CometD" becomes "retrying: error
  while collecting data from CometD", matching the lowercase,
  unpunctuated style of the other log calls in the same file.

Relates to #53373 — this covers items 3 and 4. Items 1 and 2 are in #54045, split out because they are .md-only and so skip Buildkite entirely.

1. acccess -> access (item 3)

google_workspace.drive.target_domain description. Changed in the _meta source and both generated mirrors, so make update stays a no-op:

File Kind
x-pack/filebeat/module/google_workspace/drive/_meta/fields.yml source
docs/reference/filebeat/exported-fields-google_workspace.md generated
filebeat/docs/fields.asciidoc generated

The same sentence uses the correct spelling later on ("the access scope was changed for all domains"), so the first instance was simply a typo.

Completeness pass on acccess repo-wide. Four other hits exist and are all deliberately left alone, because they are captured sample data rather than our own text:

  • x-pack/filebeat/module/azure/signinlogs/test/test-non-interactive-user-signin.log
  • x-pack/filebeat/module/azure/signinlogs/test/test-non-interactive-user-signin.log-expected.json (x2)

Those are a verbatim Azure sign-in log and its expected output, where acccess is inside a customer-authored Conditional Access policy name ("Block all guest acccess apart from SharePoint Online"). Correcting it would desynchronise the fixture from its expected JSON and break the module test.

This typo is not in any packed include/fields.go: google_workspace is an x-pack module and does not appear in the OSS filebeat/include/fields.go payload (verified by decompressing it), and x-pack/filebeat/include/ holds only list.go / list_securityonly.go.

2. CometD retry log message (item 4)

x-pack/filebeat/input/cometd/input.go:95

-in.log.Errorw("Retrying...! facing issue while collecting data from CometD", "error", e.Error())
+in.log.Errorw("retrying: error while collecting data from CometD", "error", e.Error())

The issue suggests Retrying: facing an issue while collecting data from CometD. I used a slightly shorter wording for two reasons, and am happy to switch if you would rather the suggestion landed verbatim:

  • "facing an issue" is redundant here. This is Errorw, and the underlying error is already attached as the structured error field, so the message only needs to say what was happening.
  • Style match. Every other log call in this same file is lowercase with no trailing punctuation — "not able to get access token", "got error while running input", "invalid JSON", "error while parsing JSON". The new text follows that, and "error while collecting data from CometD" directly mirrors the existing "error while parsing JSON".

Either way the malformed ...! is gone.

Testing

$ gofmt -l x-pack/filebeat/input/cometd/      # no output
$ go build ./x-pack/filebeat/input/cometd/    # ok
$ go vet   ./x-pack/filebeat/input/cometd/    # ok
$ go test  ./x-pack/filebeat/input/cometd/
ok  github.com/elastic/beats/v7/x-pack/filebeat/input/cometd  2.790s

No test asserts on the old log string (checked for Retrying and facing issue repo-wide), so nothing else needed updating.

Notes

Text-only: a field description and one log message. No behaviour, schema or field-name change — google_workspace.drive.target_domain keeps its name and keyword type — so no changelog fragment.

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
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc

(Tests and changelog are not applicable to a description/log-text fix; the generated field docs were regenerated in-place.)

🤖 Generated with Claude Code


This is an automatic backport of pull request #54046 done by Mergify.

* Fix Google Workspace field typo and CometD retry log text

- "the acccess scope was changed" -> "access" in the
  google_workspace.drive.target_domain description, in the _meta source
  and in both generated mirrors.
- Reword the CometD collection-retry log message. "Retrying...! facing
  issue while collecting data from CometD" becomes "retrying: error
  while collecting data from CometD", matching the lowercase,
  unpunctuated style of the other log calls in the same file.

Relates to #53373

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Regenerate google_workspace fields.go and fix "for for" in the same file

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Anshuman Prakash <199287261+Anshuman-Prakash@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
(cherry picked from commit daed239)
@mergify mergify Bot added the backport label Oct 30, 2026
@mergify
mergify Bot requested review from a team as code owners October 30, 2026 10:47
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • /test : Run the Buildkite pipeline.

@github-actions github-actions Bot added docs Team:Docs Label for the Observability docs team skip-changelog labels Oct 30, 2026
@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 30, 2026
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

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.

@mergify

mergify Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@mergify

mergify Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/9.6/pr-54046 upstream/mergify/bp/9.6/pr-54046
git merge upstream/9.6
git push upstream mergify/bp/9.6/pr-54046

This branch was successfully deployed

1 active deployment
docs-preview — ee37bb64 Deployed Oct 30, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport docs skip-changelog Team:Docs Label for the Observability docs team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants