Repository: flume
Updated Branches:
  refs/heads/trunk 9868c4231 -> 72a68f0d4


Remove hostHeader = hostname property from Host interceptor example

We are overriding the host header name from `host` to `hostname` in the example 
usage section. Due to this example users are overriding the header name too but 
still use the `%{host}` substitution as shown in the HDFS Sink section. This 
leads to errors.

This change removes the mentioned example config line, thus the default header 
will be used.

This closes #87

Reviewers: Bessenyei Balázs Donát

(Peter Ableda via Bessenyei Balázs Donát)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/72a68f0d
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/72a68f0d
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/72a68f0d

Branch: refs/heads/trunk
Commit: 72a68f0d4ce032c2973f711738e9f3f55ddacd4b
Parents: 9868c42
Author: Peter Ableda <[email protected]>
Authored: Fri Nov 18 16:02:02 2016 +0100
Committer: Bessenyei Balázs Donát <[email protected]>
Committed: Sat Nov 19 16:36:14 2016 +0000

----------------------------------------------------------------------
 flume-ng-doc/sphinx/FlumeUserGuide.rst | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/72a68f0d/flume-ng-doc/sphinx/FlumeUserGuide.rst
----------------------------------------------------------------------
diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst 
b/flume-ng-doc/sphinx/FlumeUserGuide.rst
index cd76bb3..07f84db 100644
--- a/flume-ng-doc/sphinx/FlumeUserGuide.rst
+++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst
@@ -3875,7 +3875,6 @@ Example for agent named a1:
   a1.channels = c1
   a1.sources.r1.interceptors = i1
   a1.sources.r1.interceptors.i1.type = host
-  a1.sources.r1.interceptors.i1.hostHeader = hostname
 
 Static Interceptor
 ~~~~~~~~~~~~~~~~~~

Reply via email to