Thank you so much for the inputs regarding pipelines.
I was able to make a solution using How to handle Multiple Config files in logstash this conditional processing. I will also try out pipelines.yml and use the easier one for our deployment.
Thanks and regards,
Ashiq