[Website]: Context question mark in ingest pipeline example
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 90/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- elasticsearch
- Domain
- documentation
Research direction
Open the linked ingest pipelines documentation page and locate the “Access source fields in a processor” section. Update the example’s condition to remove safe navigation from ctx, then verify that it reads ctx.network.name == 'Guest' and renders correctly.
Written by the indexing model from the issue text.
Description
Before you submit
- This issue is about a documentation page, flow, or piece of content.
Type of issue
Inaccurate
What documentation page or section is affected
https://www.elastic.co/docs/manage-data/ingest/transform-enrich/ingest-pipelines
What happened?
The example in Access source fields in a processor uses ctx?.network?.name in the if condition.
Expected behavior
Because ctx is always available in an ingest pipeline, the example should not use the safe navigation operator on ctx.
Suggested correction
Update the example to use ctx.network.name == 'Guest'.
Additional info
No response
🤖 Refined by RefineBot on 2026-08-11. Original intent preserved.
RefineBot changes
What changed:
- Clarified the affected section and the incorrect example behavior.
- Added an expected-behavior section and a concrete suggested correction.
- Kept the original page link and issue intent intact.
What was preserved:
- The issue remains classified as an inaccurate documentation report for the ingest pipelines page.
- The original report’s focus on the
ctx?.network?.nameexample and its explanation thatctxis always available were retained.
Source: The target docs page was inspected to confirm the example location and wording.
Previous version
Before you submit
- This issue is about a documentation page, flow, or piece of content.
Type of issue
Inaccurate
What documentation page or section is affected
https://www.elastic.co/docs/manage-data/ingest/transform-enrich/ingest-pipelines
What happened?
Examples show Question Mark on ctx (Context) that value don't need to have a question mark (Safe Navigation Operator) because Context must be always available.
PUT _ingest/pipeline/my-pipeline { "processors": [ { "drop": { "description": "Drop documents with 'network.name' of 'Guest'", "if": "ctx?.network?.name == 'Guest'" } } ] }
Please correct this typo on documentation because it is wrong.
Additional info
No response
TriageBot — Needs refinement
2026-08-11
Type: documentation
Section check:
- [✅] type of issue
- [✅] affected page
- [❌] expected behavior: missing explicit expected wording for the correction
Ambiguity / scope notes:
- The report says the example is wrong, but the needed correction is implied rather than stated directly.
Cross-references:
- All referenced links are valid in the accessible repo context.
Next step: Rewritten above
- Dominant language
- No language data
- Stars
- 47
- Forks
- 262
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 127
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elastic/docs-content
-
bug community triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
elastic/docs-content#8393 · 1 comment · 1 reaction ·
-
documentation Team:SKI triaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
elastic/docs-content#8375 · 1 comment · 1 reaction ·
-
documentation Team:SKI triaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
elastic/docs-content#8374 · 1 comment · 1 reaction ·
-
documentation Serverless Team:SKI triaged
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
elastic/docs-content#8352 · 1 comment · 1 reaction ·
-
documentation Team:SKI triaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
elastic/docs-content#8342 · 1 comment · 1 reaction ·
All issues in elastic/docs-content
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100