forked from cloudera/flume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
34 lines (26 loc) · 1007 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Synopsis: flogger -h <hostname>:<port> [-t <key>:<value>]
Description: flogger is a commandline utility that will send data to a flume node listening on specified <hostname>:<port>
<hostname>:<port> is mandatory.
flogger will optionally tag the data with specified <key>:<value>
Prerequisites for flogger installation:
1. Linux
2. Thrift installed
Prerequisites for flogger Testing:
1. Hadoop installed
2. Flume installed
3. A Flume node listening on a port
e.g.: flume dump 'rpcSource(12345)'
Intallation:
From the 'contrib/flogger' directory
1. make
2. sudo make install
Usage:
1. For instance, run a flume node on localhost and port:12345
$bin/flume dump 'rpcSource(12345)'
2. On a machine where flogger is installed
$flogger -h localhost:12345
my message
In above e.g. the flume node will dump the message to console like
[INFO Tue Aug 31 20:51:12 PDT 2010] my message
3. $top | flogger -h localhost:12345
will send the output of top to the flume node.