Datetime named parameter in jdbc input

How do I pass a datetime as a named parameter in logstash jdbc input? Trying to query mysql based on the current date and time.

Why would you have to used a named parameter to make a query based on the current date and time? MySQL has functions for that.

1 Like

Everyday I need to grab mysql data from the previous day.

You are right, I didn't realize I can do it through mysql.

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