Pipe apachePipe = new Pipe( "apache" );
apachePipe = new Each( apachePipe, new Fields( "line" ), apacheCommonParser );
apachePipe = new Each( apachePipe, new Insert( new Fields( "col" ), 1 ), Fields.ALL );
apachePipe = new Each( apachePipe, new Fields( "ip" ), new RegexParser( new Fields( "octet" ), "^[^.]*" ), new Fields( "col", "status", "event", "octet", "size" ) );
apachePipe = new Each( apachePipe, new Fields( "octet" ), new Identity( long.class ), Fields.REPLACE );
Fields groupApache = new Fields( "octet" );
groupApache.setComparator( "octet", getPlatform().getLongComparator( reverseSort ) );
Pipe ipPipe = new Pipe( "ip" );
ipPipe = new Each( ipPipe, new Fields( "line" ), new Identity( new Fields( "rawip" ) ) );
ipPipe = new Each( ipPipe, new Fields( "rawip" ), new RegexParser( new Fields( "rawoctet" ), "^[^.]*" ), new Fields( "rawoctet" ) );
ipPipe = new Each( ipPipe, new Fields( "rawoctet" ), new Identity( long.class ), Fields.REPLACE );
Fields groupIP = new Fields( "rawoctet" );
groupIP.setComparator( "rawoctet", getPlatform().getLongComparator( reverseSort ) );