-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathRestcommMetrics.json
89 lines (89 loc) · 2.7 KB
/
RestcommMetrics.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
{
"id" : null,
"name" : "RestcommMetrics",
"description" : "Restcomm application metrics.",
"category" : "restcomm",
"inputs" : [ {
"title" : "RestcommMetrics",
"configuration" : {
"configURL" : "http://YOUR_IP_HERE:8080/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Supervisor.json/metrics",
"configLabel" : "restcomm",
"configHeadersToRecord" : "",
"configPassword" : "YOUR_PASSWORD_HERE",
"configInterval" : 10,
"configUsername" : "[email protected]",
"configHttpProxy" : "",
"configTimeout" : 20,
"configLogResponseBody" : true,
"configMethod" : "GET",
"configRequestBody" : "",
"configTimeoutUnit" : "SECONDS",
"configHeadersToSend" : "",
"override_source" : "",
"configIntervalUnit" : "SECONDS"
},
"type" : "org.graylog2.plugin.httpmonitor.HttpMonitorInput",
"global" : false,
"extractors" : [ {
"title" : "Step1",
"type" : "JSON",
"configuration" : {
"flatten" : false,
"key_separator" : ".",
"list_separator" : ", ",
"kv_separator" : "="
},
"converters" : [ ],
"order" : 0,
"cursor_strategy" : "CUT",
"target_field" : "full_message",
"source_field" : "full_message",
"condition_type" : "NONE",
"condition_value" : ""
} ],
"static_fields" : { }
}, {
"title" : "RestcommSipSubsystem",
"configuration" : {
"configURL" : "http://YOUR_IP_HERE:9990/management/deployment/restcomm.war/subsystem/sip?include-runtime=true&json.pretty",
"configLabel" : "RestcommSipSubsystem",
"configHeadersToRecord" : "",
"configPassword" : "YOUR_PASSWORD_HERE",
"configInterval" : 10,
"configUsername" : "adminUser",
"configHttpProxy" : "",
"configTimeout" : 20,
"configLogResponseBody" : true,
"configMethod" : "GET",
"configRequestBody" : "",
"configTimeoutUnit" : "SECONDS",
"configHeadersToSend" : "",
"override_source" : "",
"configIntervalUnit" : "SECONDS"
},
"type" : "org.graylog2.plugin.httpmonitor.HttpMonitorInput",
"global" : false,
"extractors" : [ {
"title" : "Step1",
"type" : "JSON",
"configuration" : {
"flatten" : false,
"key_separator" : ".",
"list_separator" : ", ",
"kv_separator" : "="
},
"converters" : [ ],
"order" : 0,
"cursor_strategy" : "CUT",
"target_field" : "full_message",
"source_field" : "full_message",
"condition_type" : "NONE",
"condition_value" : ""
} ],
"static_fields" : { }
} ],
"streams" : [ ],
"outputs" : [ ],
"dashboards" : [ ],
"grok_patterns" : [ ]
}