Skip to content
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

Final pipeline not executed for indexing requests which include date math expressions #75047

Closed
danhermann opened this issue Jul 7, 2021 · 1 comment · Fixed by #75314
Closed
Assignees
Labels
>bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team

Comments

@danhermann
Copy link
Contributor

Elasticsearch version (bin/elasticsearch --version): 7.12.0, 7.13.2, possibly others

Description of the problem including expected versus actual behavior:

This is similar to #69727 except that in this case, the final pipeline is set directly on an existing index rather than in a template.

Steps to reproduce:

PUT _ingest/pipeline/my-final-pipeline
{
  "description": "create event.source",
  "processors": [
    {
      "set": {
        "field": "user.name",
        "value": "my-user-name",
        "ignore_failure": false
      }
    }
  ]
}

# Create an index which the final_pipeline is my-final-pipeline
# PUT /<my-index-{now/d}>
PUT /%3Cmy-index-%7Bnow%2Fd%7D%3E
{
  "settings": {
    "index.final_pipeline": "my-final-pipeline"
  }
}

# Index a document using the date math expression in the URL:
POST %3Cmy-index-%7Bnow%2Fd%7D%3E/_doc/1
{
  "foo": "bar"
}

# observe that user.name field is not set by the final pipeline
@danhermann danhermann added >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP labels Jul 7, 2021
@danhermann danhermann self-assigned this Jul 7, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jul 7, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants