ChrisSamo632 commented on a change in pull request #4691:
URL: https://github.com/apache/nifi/pull/4691#discussion_r723727794



##########
File path: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/src/main/java/org/apache/nifi/processors/elasticsearch/PutElasticsearchHttpRecord.java
##########
@@ -209,6 +207,25 @@
             .required(true)
             .build();
 
+    static final PropertyDescriptor AT_TIMESTAMP = new 
PropertyDescriptor.Builder()
+            .name("put-es-record-at-timestamp")
+            .displayName("@timestamp Value")
+            .description("The value to use as the @timestamp field (required 
for Elasticsearch Data Streams)")
+            .required(false)
+            
.expressionLanguageSupported(ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)
+            .addValidator(StandardValidators.NON_EMPTY_EL_VALIDATOR)
+            .build();
+
+    static final PropertyDescriptor AT_TIMESTAMP_RECORD_PATH = new 
PropertyDescriptor.Builder()
+            .name("put-es-record-at-timestamp-path")
+            .displayName("@timestamp Record Path")
+            .description("A RecordPath pointing to a field in the record(s) 
that contains the @timestamp for the document " +
+                    "(required for Elasticsearch Data Streams). If left blank 
the @timestamp will be determined using the main property type")

Review comment:
       Copy & paste error here I think... tried to keep the property 
descriptions more or less the same, but think I messed something up a little - 
updated to match the existing Index/Type properties, does this make more sense?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to