-
Notifications
You must be signed in to change notification settings - Fork 304
/
stream2influx2.json
63 lines (63 loc) · 1.28 KB
/
stream2influx2.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
{
"job": {
"setting": {
"speed": {
"channel": 1,
"bytes": -1
}
},
"content": {
"reader": {
"name": "streamreader",
"parameter": {
"column": [
{
"incr": "2021-10-17 22:40:00,1,s",
"type": "date"
},
{
"random": "1,1000",
"type": "long"
},
{
"random": "1,10",
"type": "string"
},
{
"random": "1000,50000",
"type": "double"
}
],
"sliceRecordCount": 10
}
},
"writer": {
"name": "influxdb2writer",
"parameter": {
"connection": {
"endpoint": "http://localhost:8086",
"org": "com.wgzhao",
"bucket": "test",
"table": "addax_tbl"
},
"token": "YOUR_SECURE_TOKEN",
"tag": [
{
"location": "east"
},
{
"lat": "23.123445"
}
],
"interval": "ms",
"column": [
"c_long",
"c_string",
"c_double"
],
"batchSize": 1024
}
}
}
}
}