Tap sink = getPlatform().getTextFile( "output", SinkMode.REPLACE );
Pipe pipe = new Pipe( "test" );
String regex = TestConstants.APACHE_COMMON_REGEX;
pipe = new Each( pipe, new Fields( "line" ), new RegexParser( new Fields( "ip", "time", "method", "event", "status", "size" ), regex,
new int[]{1, 2, 3, 4, 5, 6} ) );
pipe = new Each( pipe, AssertionLevel.STRICT, new AssertNotNull() );
pipe = new Each( pipe, new Fields( "method" ), new RegexFilter( "^POST" ) );