Closed ghost closed 7 years ago
Such a feature is not implemented. You can: 1) use Apache Flume Interceptor 2) pull request and modify source code to you needs, for example: headers.put("filename") in processMessage. regards
but how can i get the filename in processMessage methods?
I want to know the files name in event process, is there any way to put the file's name into event headers?