Logstash-input-mongodb configuration file

started logstash with this cmd:
bin/logstash --path.data file_name.conf

I actually tried to load csv data with this exact same process: the config file in logstash/config + the same cmd