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
}
}