I have mulitple views in SQL (Input) and multiple INDEXES in ES (Output). How can I use logstash to deal with them in single config file?

Let's start a new thread for that unrelated question. Please also read the newly started thread below; it might answer your question.