I just created a Folder name interceptor which extract the last folder name in the SpoolDir.fileHeaderKey and set it to a given folder name key.
This is useful for someone like me who needs just the last folder name in the path and not the whole path.

I want to contribute this interceptor to the comunity, can some tell me what is the process for this?
Is this just as any other contribution listed inĀ https://cwiki.apache.org/confluence/display/FLUME/How+to+Contribute?

Eran | "You don't need eyes to see, you need vision" (Faithless)