Command line syntax to use the logstash.yml instead of the pipeline (.conf)

I think you are looking for --path.settings

--path.settings SETTINGS_DIR
Set the directory containing the logstash.yml settings file as well as the log4j logging configuration. This can also be set through the LS_SETTINGS_DIR environment variable. The default is the config directory under Logstash home.