Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
36
plugins/processors/timestamp/sample.conf
Normal file
36
plugins/processors/timestamp/sample.conf
Normal file
|
@ -0,0 +1,36 @@
|
|||
# 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 = ""
|
Loading…
Add table
Add a link
Reference in a new issue