-
Notifications
You must be signed in to change notification settings - Fork 390
/
contrail-collector.conf
96 lines (71 loc) · 2.57 KB
/
contrail-collector.conf
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#
# Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
#
# Collector configuration options
#
[DEFAULT]
# Everything in this section is optional
# Time-to-live in hours of the various data stored by collector into
# cassandra
# analytics_configaudit_ttl, if not set (or set to -1), defaults to analytics_data_ttl
# analytics_statsdata_ttl, if not set (or set to -1), defaults to analytics_data_ttl
# analytics_flowdata_ttl, if not set (or set to -1), defaults to analytics_statsdata_ttl
#
#analytics_data_ttl=48
#analytics_config_audit_ttl=2160
#analytics_statistics_ttl=168
#analytics_flow_ttl=2
# IP address and port to be used to connect to cassandra.
# Multiple IP:port strings separated by space can be provided
# cassandra_server_list=127.0.0.1:9160
# List of IP:port for kafka brokers
# kafka_broker_list=127.0.0.1:9092
# IP address of analytics node. Resolved IP of 'hostname'
# hostip=
# Hostname of analytics node. If this is not configured value from `hostname`
# will be taken
# hostname=
# Http server port for inspecting collector state (useful for debugging)
# http_server_port=8089
# Category for logging. Default value is '*'
# log_category=
# Local log file name
log_file=/var/log/contrail/contrail-collector.log
# Maximum log file rollover index
# log_files_count=10
# Maximum log file size
# log_file_size=1048576 # 1MB
# Log severity levels. Possible values are SYS_EMERG, SYS_ALERT, SYS_CRIT,
# SYS_ERR, SYS_WARN, SYS_NOTICE, SYS_INFO and SYS_DEBUG. Default is SYS_DEBUG
log_level=SYS_NOTICE
# Enable/Disable local file logging. Possible values are 0 (disable) and
# 1 (enable)
log_local=1
# TCP and UDP ports to listen on for receiving syslog messages. -1 to disable.
# syslog_port=514
# UDP port to listen on for receiving sFlow messages. -1 to disable.
# sflow_port=6343
# UDP port to listen on for receiving ipfix messages. -1 to disable.
# ipfix_port=4739
# Sandesh send rate limit can be used to throttle system logs transmitted per
# second. System logs are dropped if the sending rate is exceeded
sandesh_send_rate_limit=100
[COLLECTOR]
# Everything in this section is optional
# Port to listen on for receiving Sandesh messages
# port=8086
# IP address to bind to for listening
# server=0.0.0.0
# UDP port to listen on for receiving Google Protocol Buffer messages
# protobuf_port=3333
[DISCOVERY]
# Port to connect to for communicating with discovery server
# port=5998
# server=127.0.0.1
# IP address of discovery server
# server=127.0.0.1
[REDIS]
# Port to connect to for communicating with redis-server
# port=6379
# IP address of redis-server
# server=127.0.0.1