Does Logstash cache the Query Results (JDBC-Input)

Hello there,

i have an important question about the processes in Logstash.

If i Query from a relational Database except 5000 entries. Does Logstash cache the 5000 an executes the filter and output like in a for-loop?

Or does Logstash get one entry, then filter, then output and next entry, then filter, then output (5000 times)?

Thanks for your help.

It batches, but in smaller groupings than the entire dataset.

Thanks =) that was important for understanding the behaviour of Logstash =)