-
Notifications
You must be signed in to change notification settings - Fork 57
/
config.json
99 lines (99 loc) · 2.49 KB
/
config.json
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
97
98
99
{
"username": "admin",
"password": "sros",
"port": 57400,
"timeout": "5s",
"skip-verify": true,
"tls-key": "/path/to/client.key",
"tls-cert": "/path/to/client.crt",
"tls-ca": "/path/to/ca.crt",
"targets": {
"172.17.0.100": {
"timeout": "2s",
"subscriptions": [
"sub1"
],
"outputs": [
"output1",
"output3"
]
},
"172.17.0.101": {
"username": "sros",
"password": "sros",
"insecure": true,
"subscriptions": [
"sub2"
],
"outputs": [
"output2",
"output3"
]
},
"172.17.0.102:57000": {
"password": "sros123",
"tls-key": "/path/file1",
"tls-cert": "/path/file2"
},
"172.17.0.103": null
},
"subscriptions": {
"sub1": {
"paths": [
"/configure/port[port-id=*]",
"/state/port[port-id=*]"
],
"stream-mode": "on_change"
},
"sub2": {
"paths": [
"/configure/port[port-id=*]/statistics"
],
"stream-mode": "sample",
"sample-interval": "10s"
}
},
"outputs": {
"output1": {
"type": "file",
"file-type": "stdout"
},
"output2": {
"type": "file",
"filename": "local.log"
},
"output3": {
"type": "nats",
"address": "localhost:4222",
"subject-prefix": "telemetry",
"username": null,
"password": null
},
"output4": {
"type": "stan",
"address": "localhost:4223",
"subject": "telemetry",
"username": null,
"password": null,
"name": null,
"cluster-name": "test-cluster",
"timeout": null,
"ping-interval": null,
"ping-retry": null
},
"output5": {
"type": "kafka",
"address": "localhost:9092",
"topic": "telemetry",
"max-retry": null,
"timeout": null
},
"output6": {
"type": "nats",
"address": "localhost:4222",
"subject-prefix": "telemetry",
"username": null,
"password": null
}
}
}