forked from flewton/flewton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflewton.cfg
73 lines (68 loc) · 2.84 KB
/
flewton.cfg
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
; UDP port to bind to for Netflow
listenPort = 9996
; Backends
backendClass = com/rackspace/flewton/backend/NullBackend
; backendClass = com/rackspace/flewton/backend/cassandra/UsageBackend
; backendClass = com/rackspace/flewton/backend/TopTalkersBackend
; backendClass = py/PyLoggingBackend.py
; backendClass = js/JsLoggingBackend.js
; TopTalkersBackend ------------------------------------------------------
;
; Periodically log a list of "Top Talkers".
;
; Config Directives
; - maxEntries: the maximum number of "talkers" to track.
; - intervalSecs: the log/reset period in seconds.
; - network: list of (CIDR) networks found on our network
; ------------------------------------------------------------------------
;[com/rackspace/flewton/backend/TopTalkersBackend]
;maxEntries = 1000
;intervalSecs = 3600
;network = 11.11.11.0/20
;network = 22.22.22.0/24
;network = 33.33.33.0/19
; UsageBackend -----------------------------------------------------------
;
; Write per-host byte counts to a Cassandra cluster.
;
; This backend uses a configured list of networks to create an Us/Them
; distinction in order to determine traffic direction. For example, when
; the source is not in our network list (Them), and the destination is
; (Us), the flow is deemed to be incoming and written to the column family
; specified by wanInCf.
;
; Entries are written to Cassandra using a key composed of the address
; in bytes, with one column for each flow recorded. Column names are
; a type-1 (time-based) UUID and column values are the number of bytes as
; an integer.
;
; Config Directives
; - storageNode: list of Cassandra nodes to write to
; - keypspace: Cassandra keyspace
; - wanInCf: name of the column family to write incoming bytes to
; - wanOutCf: name of the column family to write outgoing bytes to
; - lanCf: name of the column family to write local bytes to
; - columnTTLSecs: number of seconds to retain columns for
; - network: list of (CIDR) networks found on our network
; ------------------------------------------------------------------------
;[com/rackspace/flewton/backend/cassandra/UsageBackend]
;storageNode = n1.example.com:9160
;storageNode = n2.example.com:9160
;keyspace = Flewton
;wanInCf = WANIn
;wanOutCf = WANOut
;lanCf = LAN
;columnTTLSecs = 604800
;network = 11.11.11.0/20
;network = 22.22.22.0/24
;network = 33.33.33.0/19
; PyLoggingBackend -------------------------------------------------------
; There is no configuration, as this is a python example
; ------------------------------------------------------------------------
;[py/PyLoggingBackend.py]
;foo = bar
; JsLoggingBackend -------------------------------------------------------
; There is no configuration, as this is a javascript example
; ------------------------------------------------------------------------
;[js/JsLoggingBackend.js]
;foo = bar