LOG.debug("TcpDataWriter created for endpoint {}", endpoint);
break;
}
case SUBMIT: {
LOG.debug("Creating SubmitDataWriter");
dataWriter = new SubmitDataWriter(endpoint, buildSplunkArgs());
((SubmitDataWriter)dataWriter).setIndex(endpoint.getConfiguration().getIndex());
LOG.debug("SubmitDataWriter created for endpoint {}", endpoint);
break;
}
case STREAM: {