You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2026/06/19 03:33:00 UTC

[jira] [Updated] (NIFI-16028) PutElasticsearchJson: support nested field paths for Index, Identifier, and Timestamp fields

     [ https://issues.apache.org/jira/browse/NIFI-16028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard updated NIFI-16028:
----------------------------------
    Fix Version/s:     (was: 2.10.0)

> PutElasticsearchJson: support nested field paths for Index, Identifier, and Timestamp fields
> --------------------------------------------------------------------------------------------
>
>                 Key: NIFI-16028
>                 URL: https://issues.apache.org/jira/browse/NIFI-16028
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Adam Turley
>            Assignee: Adam Turley
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The PutElasticsearchJson processor can extract the Elasticsearch index name, document ID, and @timestamp value from a field within each document (via the Index Field, Identifier Field, and Timestamp Field properties added in NIFI-15985). Today those properties only match a top-level field name, so a document that carries this information in a nested object cannot be used as a source. For example, with a document like: \{ "@metadata": { "index": "logs-2026", "id": "abc-123" }, "message": "..." } setting Index Field to "@metadata/index" currently finds nothing (there is no top-level key literally named "@metadata/index") and silently falls back to the configured Index property. Nesting routing/metadata under an envelope such as "@metadata" is a common pattern (e.g. coming from Logstash), so users have no way to get the index/id/timestamp from it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)