Is it possible to dynamically edit a logstash config file from command line on Windows PC?

(Preeti Duraipandian) #1

Hello, I want 6 or 7 config files which are largely similar except for a few changes in the fields including the statement. Is it possible to keep the files similar and give the changed variable values from the command line.
If not, I would like to write a script in some other language say Python. In that case what should be input file format?