-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add timestamp column support to postgresql_extensible (#8602)
(cherry picked from commit 0c99ae9)
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0d3b2eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am unable to get value assigned to timestamp column. My table has 4 columns: id, temperature as temp, timestamp with time zone and "utc" unix timestamp in integer form. I am setting the timestamp value in inputs plugin to column "utc" but it is not picking up the right value for timestamp instead it is sending the current timestamp to influxdb.
[[inputs.postgresql_extensible.query]] sqlquery="select temp from temp_utc where mid = 45 order by utc DESC;" version=901 withdbname=false tagvalue="" timestamp="utc"