Skip to content

Field API path syntax support in IngestDocument #125804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

felixbarny
Copy link
Member

@felixbarny felixbarny commented Mar 27, 2025

A POC for allowing a field api syntax for ingest pipeline field references.

This doesn't require any changes to WriteField or the field api itself. It just exposes the existing functionality in the context of ingest pipeline field references.

Example:

{
  "processors": [
    {
      "rename": {
        "field": "$('attributes.foo.bar')",
        "target_field": "$('attributes.bar.foo')"
      }
    }
  ]
}

@elasticsearchmachine elasticsearchmachine added v9.1.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor Pull request authored by a developer outside the Elasticsearch team v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ingest pipeline processors: Syntax for fields API-style access of fields with dots
3 participants