-
Notifications
You must be signed in to change notification settings - Fork 94
/
pdh_config.json
53 lines (53 loc) · 1.6 KB
/
pdh_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
{
"rootGroup": {
"name": "MiNiFi Flow",
"processors": [
{
"name": "Read disk and CPU performance data",
"identifier": "2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27",
"type": "org.apache.nifi.minifi.processors.PerformanceDataMonitor",
"schedulingStrategy": "TIMER_DRIVEN",
"schedulingPeriod": "10000 ms",
"properties": {
"Predefined Groups": "Disk,CPU",
"Custom PDH Counters": "\\System\\Processes,\\Process(*)\\ID Process,\\Process(*)\\Private Bytes",
"Output Format": "JSON",
"Output Compactness": "Compact"
},
"autoTerminatedRelationships": []
},
{
"name": "Put files to C:\\temp\\",
"identifier": "e143601d-de4f-44ba-a6ec-d1f97d77ec94",
"type": "org.apache.nifi.minifi.processors.PutFile",
"schedulingStrategy": "EVENT_DRIVEN",
"properties": {
"Conflict Resolution Strategy": "fail",
"Create Missing Directories": "true",
"Directory": "C:\\temp\\"
},
"autoTerminatedRelationships": [
"failure",
"success"
]
}
],
"connections": [
{
"name": "PerformanceDataMonitor/success/PutFile",
"identifier": "098a56ba-f4bf-4323-a3f3-6f8a5e3586bf",
"source": {
"id": "2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27"
},
"destination": {
"id": "e143601d-de4f-44ba-a6ec-d1f97d77ec94"
},
"selectedRelationships": [
"success"
]
}
],
"remoteProcessGroups": [],
"controllerServices": []
}
}