# Example: Postgres With thanks to [@roflmao](https://github.com/roflmao) ``` input { stdin { } } output { jdbc { connection_string => 'jdbc:postgresql://hostname:5432/database?user=username&password=password' statement => [ "INSERT INTO log (host, timestamp, message) VALUES(?, CAST (? AS timestamp), ?)", "host", "@timestamp", "message" ] } } ```