# Convert a timestamp field to other timestamp format [[processors.timestamp]] ## Timestamp key to convert ## Specify the field name that contains the timestamp to convert. The result ## will replace the current field value. field = "" ## Timestamp Format ## This defines the time layout used to interpret the source timestamp field. ## The time must be `unix`, `unix_ms`, `unix_us`, `unix_ns`, or a time in Go ## "reference time". For more information on Go "reference time". For more ## see: https://golang.org/pkg/time/#Time.Format source_timestamp_format = "" ## Timestamp Timezone ## Source timestamp timezone. If not set, assumed to be in UTC. ## Options are as follows: ## 1. UTC -- or unspecified will return timestamp in UTC ## 2. Local -- interpret based on machine localtime ## 3. "America/New_York" -- Unix TZ values like those found in ## https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # source_timestamp_timezone = "" ## Target timestamp format ## This defines the destination timestamp format. It also can accept either ## `unix`, `unix_ms`, `unix_us`, `unix_ns`, or a time in Go "reference time". destination_timestamp_format = "" ## Target Timestamp Timezone ## Source timestamp timezone. If not set, assumed to be in UTC. ## Options are as follows: ## 1. UTC -- or unspecified will return timestamp in UTC ## 2. Local -- interpret based on machine localtime ## 3. "America/New_York" -- Unix TZ values like those found in ## https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # destination_timestamp_timezone = ""