-
Notifications
You must be signed in to change notification settings - Fork 2
/
example-config.yaml
56 lines (50 loc) · 1.31 KB
/
example-config.yaml
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
# internal metrics port
port: 9644
# configuration file name
config: config
# Profile for the different fabrics
# Thw one to use is set on the command line
fabrics:
cisco_sandbox:
username: admin
password: ciscopsdt
apic:
- https://www.opsdis.com
- https://sandboxapicdc.cisco.com
# Http client settings used to access apic
httpclient:
insecurehttps: true
keepalive: 30
timeout: 30
streams:
faults:
class_name: faultInst
root: imdata.0.faultInst.attributes
query_parameter: ""
labels:
- property_name: dn
regex: "^topology/pod-(?P<podid>[1-9][0-9]*)/node-(?P<nodeid>[1-9][0-9]*)/sys/.*"
message:
name: message
format: "%s podid:%s [dn: %s]"
# Names are add to the format in the order they are written
property_names:
- descr
- podid
- dn
sessions:
class_name: aaaActiveUserSession
root: imdata.0.aaaActiveUserSession.attributes
query_parameter: "?query-target=self&query-target-filter=and(wcard(aaaActiveUserSession.status,\"created\"))"
timestamp:
property_name: loginTime
drops:
- property_name: hashToken
- property_name: userdom
message:
name: mesg
format: "User %s - status %s IP %s"
property_names:
- name
- status
- ipAddress