Nikhil,
What you are attempting to do is called "Data Cloning". For this type of situation you will need 2 target groups, and then specify each indexer in that target group. Look at Data Cloning in the Documentation here.
Also, while nice I would actually rename the target groups to your liking. Such as,
[tcpout]
defaultGroup = productionSplunk, developmentSplunk
[tcpout:productionSplunk]
server = 198.11.16.1:9997
[tcpout:developmentSplunk]
server = 198.11.16.X:9997
As always, tcpout-server is optional. Read the documentation link for more information.
... View more