Repository navigation
Fix Google Workspace field typo and CometD retry log text - #54046
vishaangelova merged 2 commits into
Conversation
- "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 elastic#53373 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
🤖 GitHub commentsJust comment with:
|
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
/test |
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Regenerated with the toolchain pinned from While in that file I also fixed one more defect on line 38, two fields above the one this PR already changes: @vishaangelova @efd6 — sorry for the extra round; could one of you re-run |
|
/test |
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
Proposed commit message
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_domaindescription. Changed in the_metasource and both generated mirrors, somake updatestays a no-op:x-pack/filebeat/module/google_workspace/drive/_meta/fields.ymldocs/reference/filebeat/exported-fields-google_workspace.mdfilebeat/docs/fields.asciidocThe 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
acccessrepo-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.logx-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
acccessis 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_workspaceis an x-pack module and does not appear in the OSSfilebeat/include/fields.gopayload (verified by decompressing it), andx-pack/filebeat/include/holds onlylist.go/list_securityonly.go.2. CometD retry log message (item 4)
x-pack/filebeat/input/cometd/input.go:95The 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:Errorw, and the underlying error is already attached as the structurederrorfield, so the message only needs to say what was happening."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
No test asserts on the old log string (checked for
Retryingandfacing issuerepo-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_domainkeeps its name andkeywordtype — so no changelog fragment.Checklist
CHANGELOG.next.asciidocorCHANGELOG-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