GitHub user lingjinjiang opened a pull request: https://github.com/apache/flume/pull/147
[FLUME-3133] Add a 'ipHeader' config in both tcp and udp syslog source When I use the syslog source, I use the "host" header to tell where the event come from.However, when change the format of syslog service, the "host" header willl be missing. So I add a new config named "ipHeader" which looks like the "portHeader" in Multiport Syslog TCP Source. When this config is specified, a header will be added. For more detail: https://issues.apache.org/jira/browse/FLUME-3133 You can merge this pull request into a Git repository by running: $ git pull https://github.com/lingjinjiang/flume FLUME-3133 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/147.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #147 ---- commit 3c190e61017a8d160cc89d9d517f9b75e3a9abc0 Author: åææ±10186960 <ling.jinji...@zte.com.cn> Date: 2017-07-20T09:11:27Z [FLUME-3133] Add a 'ipHeader' config in both tcp and udp syslog source ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---