diff --git a/plugins/inputs/postgresql_extensible/postgresql_extensible.go b/plugins/inputs/postgresql_extensible/postgresql_extensible.go index d78dd51f2..44c452e0b 100644 --- a/plugins/inputs/postgresql_extensible/postgresql_extensible.go +++ b/plugins/inputs/postgresql_extensible/postgresql_extensible.go @@ -71,7 +71,7 @@ var sampleConfig = ` # withdbname boolean # tagvalue string (coma separated) [[inputs.postgresql_extensible.query]] - sqlquery="SELECT * FROM pg_stat_database where datname" + sqlquery="SELECT * FROM pg_stat_database" version=901 withdbname=false tagvalue=""