I am not exactly sure if I am understanding the question correctly, but it sounds like you have data where some needs to go to DEV and other data that needs to go to to PROD (for example)? If that is the case and ALL the data of a given input must go to one or the other, you can use _TCP_ROUTING, a setting configured at the input itself (inputs.conf):
## inputs.conf ##
_TCP_ROUTING = <tcpout_group_name>,<tcpout_group_name>,<tcpout_group_name>, ...
* Comma-separated list of tcpout group names.
* Using this, you can selectively forward the data to specific indexer(s).
* Specify the tcpout group the forwarder should use when forwarding the data.
The tcpout group names are defined in outputs.conf with
[tcpout:<tcpout_group_name>].
* Defaults to groups specified in "defaultGroup" in [tcpout] stanza in
outputs.conf.
* To forward data from the "_internal" index, _TCP_ROUTING must explicitly be
set to either "*" or a specific splunktcp target group.
If instead the specific input is monitoring a data source that has data for multiple locations, you can use a props/transforms configuration to route the data to multiple hosts, but you would need to utilize a Heavy Forwarder. The following document outlines that very well:
http://docs.splunk.com/Documentation/Splunk/6.5.0/Forwarding/Routeandfilterdatad
Finally, if you are trying to route data to specific INDEX based on what is in the data, you could use the same method as route and filter but instead route the data to an INDEX. To do this you would utilize "DEST_KEY = _MetaData:Index" instead of "DEST_KEY=_TCP_ROUTING". The following answer posts describes this in pretty good detail:
https://answers.splunk.com/answers/50761/how-do-i-route-data-to-specific-index-based-on-a-field.html
... View more