[ES|QL] Add CATEGORIZE+BUCKET and grouped SAMPLE examples to function reference#149366
[ES|QL] Add CATEGORIZE+BUCKET and grouped SAMPLE examples to function reference#149366charlotte-hoblik wants to merge 5 commits into
Conversation
|
Pinging @elastic/core-docs (Team:Docs) |
🔍 Preview links for changed docs |
ℹ️ Important: Docs version tagging👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version. We use applies_to tags to mark version-specific features and changes. Expand for a quick overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
Closes https://github.com/elastic/docs-content-internal/issues/932
Adds tested examples to the
CATEGORIZEandSAMPLEES|QL function reference pages.CATEGORIZE: adds a second example combining
CATEGORIZEwithBUCKETin the sameBYclause to group log message patterns by time interval. Addresses the user question raised in the issue.SAMPLE: adds a grouped variant showing both single-value and multivalue array return behavior in one result table. Replaces the existing
employees-based example with asample_data-based one for page-wide dataset consistency.