Skip to content

docs: fix grammar and sentence spacing in reference docs - #54044

Merged
vishaangelova merged 1 commit into
elastic:mainfrom
Anshuman-Prakash:docs/text-auditor-53392
Oct 26, 2026
Merged

vishaangelova merged 1 commit into
elastic:mainfrom
Anshuman-Prakash:docs/text-auditor-53392

Conversation

@Anshuman-Prakash

Copy link
Copy Markdown
Contributor

Proposed commit message

docs: fix grammar and sentence spacing in reference docs

Fix three families of user-facing text defects in the reference docs:

- "in situations were <Beat> terminates unexpectedly" -> "where", in the
  six configuration-logging.md pages.
- Missing space after a sentence period, in the six replace-fields.md
  tables ("occurs.If", "returned.If"), the six redis-output.md pages
  ("events.If"), the Azure Blob Storage and GCS input pages
  ("processed.This") and the Docker logging plugin page ("`agent.name`.If").
- "provided as an XML Schema Definitions (XSD)" -> "Definition", in the
  Filebeat CEL input page.

Relates to #53392.

What is covered

The three items in #53392, plus 10 more files in the same defect families that a repo-wide completeness pass turned up and the issue did not list.

1. were -> where (6 files, from the issue)

docs/reference/{auditbeat,filebeat,heartbeat,metricbeat,packetbeat,winlogbeat}/configuration-logging.md

This can be helpful in situations were where <Beat> terminates unexpectedly …

A repo-wide search for the were/where confusion (cases were, situations were, instances were, scenarios were) found no other occurrences — the four remaining hits in *_test.go are correct past-tense uses of were.

2. Missing space after a sentence period (15 files: 6 from the issue + 9 found)

File(s) Current Fixed
6x replace-fields.md (in the issue) an error occurs.If / event is returned.If occurs. If / returned. If
6x redis-output.md (not in the issue) publishing events.If the data type events. If the data type
filebeat-input-azure-blob-storage.md (not in the issue) won't be processed.This attribute processed. This attribute
filebeat-input-gcs.md (not in the issue) won't be processed.This attribute processed. This attribute
loggingplugin/log-driver-configuration.md (not in the issue) as `agent.name`.If not set `agent.name`. If not set

The redis-output.md one is worth calling out: every beat already ships the corrected wording in its own *.reference.yml, so only the docs copy had drifted.

auditbeat/auditbeat.reference.yml:1053:  # The Redis data type to use for publishing events. If the data type is list,
filebeat/filebeat.reference.yml:2349:  # The Redis data type to use for publishing events. If the data type is list,
heartbeat/heartbeat.reference.yml:1173:  # The Redis data type to use for publishing events. If the data type is list,

I scanned every .md under docs/ for a period followed directly by a capitalised sentence-starting word. The scan's other hits are all false positives and were left alone: Graph API permission names (AuditLog.Read.All, Device.Read.All, Incident.Read.All), and Go struct literals inside fenced code blocks in docs/extend/creating-metricsets.md.

3. Plural/article mismatch (1 file, from the issue)

docs/reference/filebeat/filebeat-input-cel.md — provided as an XML Schema Definitions (XSD) -> Definition. Single occurrence repo-wide.

Notes

  • Docs-only; 22 files, one line changed in each, no behaviour change.
  • None of these pages are generated — each beat's copy differs, so all six variants of a page were edited individually and the beat name in each sentence was preserved.
  • No changelog fragment, consistent with the other docs-only typo fixes in this repo.

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

(The last three are not applicable to a docs-only text fix.)

🤖 Generated with Claude Code

Fix three families of user-facing text defects in the reference docs:

- "in situations were <Beat> terminates unexpectedly" -> "where", in the
  six configuration-logging.md pages.
- Missing space after a sentence period, in the six replace-fields.md
  tables ("occurs.If", "returned.If"), the six redis-output.md pages
  ("events.If"), the Azure Blob Storage and GCS input pages
  ("processed.This") and the Docker logging plugin page ("`agent.name`.If").
- "provided as an XML Schema Definitions (XSD)" -> "Definition", in the
  Filebeat CEL input page.

The redis-output wording now matches the comment already shipped in each
beat's .reference.yml, which reads "publishing events. If the data type
is list".

Relates to elastic#53392

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Anshuman-Prakash
Anshuman-Prakash requested a review from a team as a code owner October 24, 2026 14:29
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 24, 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.

@mergify

mergify Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @Anshuman-Prakash? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@vishaangelova vishaangelova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

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

Copy link
Copy Markdown
Member

/test

@vishaangelova vishaangelova added the backport-skip Skip notification from the automated backport with mergify label Oct 26, 2026
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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.

@vishaangelova
vishaangelova merged commit 8a7cb1b into elastic:main Oct 26, 2026
55 checks passed
kruskall pushed a commit to kruskall/beats that referenced this pull request Oct 26, 2026
Fix three families of user-facing text defects in the reference docs:

- "in situations were <Beat> terminates unexpectedly" -> "where", in the
  six configuration-logging.md pages.
- Missing space after a sentence period, in the six replace-fields.md
  tables ("occurs.If", "returned.If"), the six redis-output.md pages
  ("events.If"), the Azure Blob Storage and GCS input pages
  ("processed.This") and the Docker logging plugin page ("`agent.name`.If").
- "provided as an XML Schema Definitions (XSD)" -> "Definition", in the
  Filebeat CEL input page.

The redis-output wording now matches the comment already shipped in each
beat's .reference.yml, which reads "publishing events. If the data type
is list".

Relates to elastic#53392

Co-authored-by: Anshuman Prakash <199287261+Anshuman-Prakash@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip Skip notification from the automated backport with mergify 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