Skip to content

Commit

Permalink
Add timezone to telegraf so tags are localized
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbirse committed Sep 23, 2022
1 parent ee68dd7 commit 2293f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@
[[processors.date]]
tag_key = "month"
date_format = "Jan"
timezone = "America/Los_Angeles"
timezone = "America/Los_Angeles"

[[processors.date]]
tag_key = "year"
date_format = "2006"
timezone = "America/Los_Angeles"
timezone = "America/Los_Angeles"

# Configuration for sending metrics to InfluxDB
#[[outputs.influxdb]]
Expand Down

0 comments on commit 2293f54

Please sign in to comment.