AddOnly Mode

You can use the TCP connector in AddOnly Mode through the information provided here.

When the TCP Connector works in this mode, the default implementation is to write entries in their string form, which is not useful. Typically, you specify a Parser or use the Override Add hook to preform specific output. In the Override Add hook you access the in or out objects by calling the Connector Interface's getReader() and getWriter() methods, for example:

var in = mytcpconnector.connector.getReader();
var out = mytcpconnector.connector.getWriter();

You can also use the Before Add and After Add hooks to insert headers or footers around the output from your Parser.