the signals and their derived score are provisional and subject to change.
validate manually before sharing.
4eba9b52f5a2b694360e14a9ebc37268b8a398a6db676672d5342 weeks agoCo-authored-by: Claude Fable 5.1 <noreply@anthropic.com>38f4d2f743172 weeks agoCo-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>eb2346dd31054 weeks agoClaude-Session: https://claude.ai/code/session_01RyiyHmDHcUFt8rjMNR8TBm8d2df4b09c861 month ago🤖 Generated with [Claude Code](https://claude.com/claude-code)e6851cd65e751 month ago🤖 Generated with [Claude Code](https://claude.com/claude-code)648687a254141 month agoClaude-Session: https://claude.ai/code/session_01RyiyHmDHcUFt8rjMNR8TBm4f131aa727541 month agoCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>04a5c187df8e1 month agoClaude-Session: https://claude.ai/code/session_01RyiyHmDHcUFt8rjMNR8TBmcd6a5ca376511 month agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>7fd670e6f7c31 month agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>04178a3112331 month agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1fe9c67698d01 month agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>f4cd0959c48b1 month agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1b2a848656de1 month agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>38839389b9e51 month agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>5af80c80fe481 month agoCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>0375cbb752371 month agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>2ae55e8c7c452 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>7788b08b42732 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>00981fc7e95c2 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>f390619b5c072 months agoCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>79401e2e0e512 months agoCo-authored-by: Claude Code <claude-code@noreply.anthropic.com>ff2e8e76f7ab2 months agoCo-authored-by: Cursor Agent <cursoragent@cursor.com>0cb3319bd5f72 months agoCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>6a04cbf14c773 months agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>0e6e122dd8b13 months agoCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>697c1018f3833 months agoCo-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>80a76645d7ea3 months ago🤖 Generated with [Claude Code](https://claude.com/claude-code)1c60bea54ce13 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>8286d296fc874 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>6a4b58129b824 months agoCo-authored-by: Claude Sonnet 5 <noreply@anthropic.com>141b7a18ae364 months agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>8c990243fc104 months agoCo-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>5be797c9e30a4 months agoCo-authored-by: Claude Opus 4.8 <noreply@anthropic.com>b32e2c8e1efb5 months agoCo-authored-by: Claude Opus 4.6 <noreply@anthropic.com>f5496acdb75d5 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>860fbd8233846 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>b0394ba51fdf6 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1ada6d7798686 months agoCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>ab7287495cab7 months agoCo-authored-by: Claude Opus 4.7 <noreply@anthropic.com>14886ef55ce87 months agoCo-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>6685b810bb567 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>bb582161f2b67 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>a1459ed025407 months ago🤖 Generated with [Claude Code](https://claude.com/claude-code)f2679b1a702b7 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>131807306eb27 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>43b38f3836817 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>c373302209447 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>cffd6458a69e7 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>2f229d9803517 months agoCo-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>07bc331109097 months agoCo-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>6caf2d029e6d8 months agoCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>b636be3468898 months agoCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> and Cursoreee273c69aee8 months agoCo-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>cf8bc4695be18 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>9f722dfe5de68 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>89e9684404338 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>91798bdbe6eb8 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>62edb5d25d7a8 months agoCo-authored-by: Claude Opus 4.6 <noreply@anthropic.com>55b644cd02209 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>12212739a2c29 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>cf12935c59a910 months agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>7cb2bd592ca41 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>8b7d6216d2291 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>6ccbbce2d0371 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>0caaf7846d161 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>a3c2dd6e95bb1 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>ab4a4066bb541 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>78e4baaa98961 year agoCo-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co> & Github Copilot4042137077391 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>f84ec74b21701 year ago🤖 Generated with [Claude Code](https://claude.ai/code)81fba27b6bac1 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>cc461afa0a111 year agoCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>@AGENTS.md
@AGENTS.md
@AGENTS.md@AGENTS.md
@AGENTS.md
@AGENTS.md@AGENTS.md
@AGENTS.md
# Elasticsearch
## Toolchain Snapshot
- **Java**: JDK 25 via `JAVA_HOME`; use the bundled Gradle wrapper (`./gradlew`).
- **Build tooling**: Gradle composite build with `build-conventions`, `build-tools`, and `build-tools-internal`; Docker is required for some packaging/tests.
- **OS packages**: Packaging and QA jobs expect ephemeral hosts; do not run packaging suites on your workstation.
- **Security**: Default dev clusters enable security; use `elastic-admin:elastic-password` or disable with `-Dtests.es.# ES|QL Compute Engine
## Code generation
Most classes in this module are generated via two mechanisms:
1. **StringTemplate** (`*.java.st` files)
2. **Annotation processors** (`compute/gen`) — classes annotated with `@Evaluator`,
`@Aggregator`, `@GroupingAggregator`, etc. are generated at compile time automatically.
Do not hand-edit generated files. Edit the template or annotated source instead.
## Hand-written classes
Some classes are hand-written across multiple type variants instead of generat# PromQL reference docs
## Keep the Prometheus compatibility page current
`prometheus-compatibility.md` is the single page of differences between PromQL in Elasticsearch and Prometheus. Each of its
sections is a snippet in `_snippets/compatibility/`, so other pages include the same rows instead of keeping their own
copies:
- The `PROMQL` command page includes every section except `http-api.md`.
- `promql-http-api.md` includes `http-api.md`.
The sections and headings mirror the Prometheus querying docs, # OTel Data Plugin
## Template Version
The `version` field in `src/main/resources/resources.yaml` controls whether component templates
and index templates are updated on Elasticsearch upgrade. You **must** increment this version
if you change any existing template listed in that file.
# ML contracts library (xpack-core/ml)
Guidance for coding agents working in the `org.elasticsearch.xpack.core.ml` package inside xpack-core. It holds the *contracts* (serializable config/state POJOs, transport action definitions, registries, cluster-state metadata, versioning), **not** runtime logic. The execution side (transport handlers, REST handlers, persistent-task executors, native processes) lives in `x-pack/plugin/ml` (see its own `AGENTS.md`). The repository-root `AGENTS.md` is authoritative for # Docs
## Building docs
Always run `docs-builder` from the **root of the checkout**, not from a subdirectory.
Running from a subdirectory will only validate that subdirectory's links and may silently miss errors in cross-document references.
```bash
# From /path/to/elasticsearch (repo root):
docs-builder
```
# PromQL planning
If you add support for a PromQL construct, or add a new restriction or rejection (a `ParsingException` or
unsupported-construct error in the parser or in these plan classes), update the Prometheus compatibility rows in
`docs/reference/query-languages/promql/_snippets/compatibility/`, under the heading that documents the construct in
Prometheus. See
`docs/reference/query-languages/promql/AGENTS.md` for how that list is used and maintained.
# Inference API plugin (x-pack-inference)
Guidance for coding agents working in `x-pack/plugin/inference/` (Gradle `:x-pack:plugin:inference`, esplugin artifact `x-pack-inference`, class `InferencePlugin`). It implements the `_inference` API, integrates many external/internal inference services (see the provider subdirs under `services/`), and provides `semantic_text` and inference-based reranking. The repository-root `AGENTS.md` is authoritative for toolchain, formatting, logging, transport-version, and g# Machine Learning plugin (x-pack-ml)
Guidance for coding agents working in `x-pack/plugin/ml/` (Gradle `:x-pack:plugin:ml`, artifact `x-pack-ml`). The repository-root `AGENTS.md` is authoritative for build toolchain, formatting, logging, transport-version, and general testing conventions — this file does not repeat them. Read the root `AGENTS.md` first; the notes below are ML-specific.
## Build & Test Commands
The Gradle project path is `:x-pack:plugin:ml`. Run from the repository root.
```bash
# Uni# ColumNAR — contributor & agent guide
Read `README.md` for the architecture first, then this. It covers what is expensive to get wrong.
## Non-negotiable rules
1. **Binary only.** ColumNAR stores and serves fields at the `BINARY` surface (`addBinaryField` /
`getBinary`); the typed shapes (`Numeric`/`SortedNumeric`/`Sorted`/`SortedSet`) throw. There is no
delegate format — an unsupported type is an error, not a fallback.
2. **Type-tagged and open.** Every field carries a `ColumnarFieldType`, r# Benchmarks
## Running benchmarks
Run from the `benchmarks/` directory using the `run` task with `--args`. Always use the fully-qualified class
name including package to avoid ambiguity. Always pipe through `tee /tmp/bench/<descriptive_name>` using a filename that reflects the task (e.g. `tee /tmp/bench/paged_write`).
```
cd benchmarks
../gradlew run --args "org.elasticsearch.benchmark._nightly.BytesBuilderBenchmark -pdata=1000_ints -pimpl=paged -poperation=write -rf json -rff build/jmh-result.json" | t# Transform plugin (transform)
Guidance for coding agents working in `x-pack/plugin/transform/` (Gradle `:x-pack:plugin:transform`, esplugin artifact `transform`). The repository-root `AGENTS.md` is authoritative for build toolchain, formatting, logging, transport-version, and general testing conventions — this file does not repeat them. Read the root `AGENTS.md` first; the notes below are transform-specific.
## Build & Test Commands
The Gradle project path is `:x-pack:plugin:transform`. Run from the r```yaml {applies_to}
serverless: ga
stack: ga
```
`GROK` enables you to [extract structured data out of a string](/reference/query-languages/esql/esql-process-data-with-dissect-grok.md).
## Syntax
```esql
GROK input "pattern"
```
## Parameters
`input`
: The column that contains the string you want to structure. If the column has
multiple values, `GROK` will process each value.
`pattern`
: A grok pattern. If a field name conflicts with an existing column, the existing column is discarded.
I---
navigation_title: "GROK"
mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/esql-commands.html#esql-grok
---
# {{esql}} `GROK` command [esql-grok]
:::{include} ../_snippets/commands/layout/grok.md
:::
.gitignoreclaude-code.claude.gitignorecursor.cursorrules.gitignorejunie.junie/.gitignoreunspecified.agent.gitignorepi.pi