AddTimestamp

Adds a timestamp (containing the current time) to a FlowFile attribute or document metadata field.

Properties

Name Description
Add Timestamp To

To add a timestamp to a FlowFile attribute, select Attribute.

To add a timestamp to the document metadata, select Metadata.

Field Name The name of the FlowFile attribute or document metadata field to create.
Date Format

The timestamp date format. Set this property to one of the following options:

  • EPOCHSECONDS
  • EPOCHMILLISECONDS
  • A date format supported by SimpleDateFormat.

    For example: yyyy-MM-dd'T'HH:mm:ss.SSSZ

Relationships

Name Description
success FlowFiles that were successfully processed.
failure FlowFiles that were not successfully processed.