Can I get a date yesterday in logstash config?

Hello.
Can I get a date yesterday in logstash config?
How do I enter yesterday's date in the SQL statement? (???? mark)

input {
jdbc {
jdbc_driver_class => "com.mysql.jdbc.Driver"
schedule => "0 */1 * * *"
statement => "SELECT a, b, c, reg_date from gym_user where reg_date > ????"
use_column_value => true
}
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.