Best input file type for logstash

Hi

I am new to elastic, and trying to make dashboard for logs, I want to what's the best type for file input (txt, CSV, or reading from DB )

If you have data in files use the file input plugin. If you have data in a database use the jdbc input. Both options work fine from a Logstash perspective.