mirror of https://github.com/apache/nifi.git
NIFI-1158 Default timestamp based on now
This commit is contained in:
parent
0900fb80c9
commit
e6086420aa
|
@ -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 " +
|
"\"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\".")
|
"with a format of \"MMM d HH:mm:ss\".")
|
||||||
.required(true)
|
.required(true)
|
||||||
|
.defaultValue("${now():format('MMM d HH:mm:ss')}")
|
||||||
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
|
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
|
||||||
.expressionLanguageSupported(true)
|
.expressionLanguageSupported(true)
|
||||||
.build();
|
.build();
|
||||||
|
|
Loading…
Reference in New Issue