Repository: flume Updated Branches: refs/heads/trunk f17c7d502 -> 84c526fed
FLUME-2237. Example config in User Guide to use same notation for Agent name (Ashish Paliwal via Jarek Jarcec Cecho) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/84c526fe Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/84c526fe Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/84c526fe Branch: refs/heads/trunk Commit: 84c526fedbf30f14bf80ac7bc40aa043f400ec98 Parents: f17c7d5 Author: Jarek Jarcec Cecho <[email protected]> Authored: Sat Oct 11 13:05:13 2014 -0700 Committer: Jarek Jarcec Cecho <[email protected]> Committed: Sat Oct 11 13:05:13 2014 -0700 ---------------------------------------------------------------------- flume-ng-doc/sphinx/FlumeUserGuide.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/84c526fe/flume-ng-doc/sphinx/FlumeUserGuide.rst ---------------------------------------------------------------------- diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst b/flume-ng-doc/sphinx/FlumeUserGuide.rst index ce52946..804bc85 100644 --- a/flume-ng-doc/sphinx/FlumeUserGuide.rst +++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst @@ -841,9 +841,9 @@ invoked directly. Common values for 'shell' : '/bin/sh -c', '/bin/ksh -c', .. code-block:: properties - agent_foo.sources.tailsource-1.type = exec - agent_foo.sources.tailsource-1.shell = /bin/bash -c - agent_foo.sources.tailsource-1.command = for i in /path/*.txt; do cat $i; done + a1.sources.tailsource-1.type = exec + a1.sources.tailsource-1.shell = /bin/bash -c + a1.sources.tailsource-1.command = for i in /path/*.txt; do cat $i; done JMS Source ~~~~~~~~~~~ @@ -986,13 +986,13 @@ Example for an agent named agent-1: .. code-block:: properties - agent-1.channels = ch-1 - agent-1.sources = src-1 + a1.channels = ch-1 + a1.sources = src-1 - agent-1.sources.src-1.type = spooldir - agent-1.sources.src-1.channels = ch-1 - agent-1.sources.src-1.spoolDir = /var/log/apache/flumeSpool - agent-1.sources.src-1.fileHeader = true + a1.sources.src-1.type = spooldir + a1.sources.src-1.channels = ch-1 + a1.sources.src-1.spoolDir = /var/log/apache/flumeSpool + a1.sources.src-1.fileHeader = true Event Deserializers '''''''''''''''''''
