Places a timestamp to the input object, or parses an existing expression into a Date object.
"processors" : {
"timestamp" : {
"type" : "timestamp",
"config" : {
"input" : "${tsstring}",
"format" : "HH:mm:ss YYYY-MM-DD",
"output" : "timestamp"
}
}
}
- input : Optional. If specified, expression where fetch a timestamp string to be parsed. If not specified, the processor will use the actual timestamp.
- format : If input is specified. Format expression of the input to be parsed, following MomentJS expression
- output : Field where timestamp is stored
- unix : If true, timestamp will be stored as a long number instead of a javascript Date object.