From e6086420aa8af51f4fbba83810b67fc88f0f938d Mon Sep 17 00:00:00 2001 From: Tony Kurc Date: Thu, 12 Nov 2015 23:11:43 -0500 Subject: [PATCH] NIFI-1158 Default timestamp based on now --- .../main/java/org/apache/nifi/processors/standard/PutSyslog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutSyslog.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutSyslog.java index b7e7a9cd4d..27f293859e 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutSyslog.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutSyslog.java @@ -114,6 +114,7 @@ public class PutSyslog extends AbstractSyslogProcessor { "\"yyyy-MM-dd'T'HH:mm:ss.SZ\" or \"yyyy-MM-dd'T'HH:mm:ss.S+hh:mm\", \" or it can be an RFC3164 timestamp " + "with a format of \"MMM d HH:mm:ss\".") .required(true) + .defaultValue("${now():format('MMM d HH:mm:ss')}") .addValidator(StandardValidators.NON_EMPTY_VALIDATOR) .expressionLanguageSupported(true) .build();