-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig_example.yml
56 lines (53 loc) · 1.21 KB
/
config_example.yml
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
### Goflow Configuration file
### Backend configuration
###
backends:
# Key is the identifying name
rdssql:
# Currently supported types:
# - mysql
# - timescale
# - dumper
type: mysql
config:
SQL_SERVER: your-sql-server.com
SQL_USERNAME: your-sql-username
SQL_DB: your-database-name
# SQL_PASSWORD can be specified here but preferably, set it in the environment
dumper:
type: dump
config:
# Kafka example
kafka:
type: kafka
config:
# Required
KAFKA_SERVER: [your-server]:[listening-port]
KAFKA_TOPIC: [your-topic]
# Optional
SASL_USER: [SASL User]
SSL: true
SSL_VERIFY: false
###
### Frontend config
###
frontends:
netflow:
config:
# Bindaddr: IP address on local system to listen for netflow
bindaddr: [local address]
# Bindport: Port to listen on
bindport: [local port]
# Backend to store data received by this frontend
backend: rdssql
###
### API config
###
# Specify bindaddr for API
api: 127.0.0.1:8880
###
### Utility Config
###
utilities:
# Max_age is the length of time - in days - to store flow records for. Flows are pruned one daily based on this number.
max_age: 180