blob: d9f3010b20a21c5bd659c587adc6825af2febf4b [file] [log] [blame]
Sangsik Yoonf0b3ad82016-08-19 18:47:59 +09001{
2 "type": "object",
3 "title": "dpiStatistics",
4 "required": [
5 "receivedTime",
6 "dpiStatInfo"
7 ],
8 "properties": {
9 "receivedTime": {
10 "type": "string",
11 "example": "2016-06-12 04:05:05"
12 },
13 "dpiStatInfo": {
14 "type": "object",
15 "title": "dpiStatInfo",
16 "required": [
17 "trafficStatistics",
18 "detectedProtos",
19 "knownFlows",
20 "unknownFlow"
21 ],
22 "properties": {
23 "trafficStatistics": {
24 "type": "object",
25 "title": "trafficStatistics",
26 "required": [
27 "ethernetBytes",
28 "discardedBytes",
29 "ipPackets",
30 "totalPackets",
31 "ipBytes",
32 "avgPktSize",
33 "uniqueFlows",
34 "tcpPackets",
35 "udpPackets",
36 "dpiThroughputPps",
37 "dpiThroughputBps",
38 "trafficThroughputPps",
39 "trafficThroughputBps",
40 "trafficDurationSec",
41 "guessedFlowProtos"
42 ],
43 "properties": {
44 "ethernetBytes": {
45 "type": "integer",
46 "format": "int64",
47 "example": 69889
48 },
49 "discardedBytes": {
50 "type": "integer",
51 "format": "int64",
52 "example": 69889
53 },
54 "ipPackets": {
55 "type": "integer",
56 "format": "int64",
57 "example": 69889
58 },
59 "totalPackets": {
60 "type": "integer",
61 "format": "int64",
62 "example": 69889
63 },
64 "ipBytes": {
65 "type": "integer",
66 "format": "int64",
67 "example": 69889
68 },
69 "avgPktSize": {
70 "type": "integer",
71 "format": "int32",
72 "example": 9889
73 },
74 "uniqueFlows": {
75 "type": "integer",
76 "format": "int32",
77 "example": 9889
78 },
79 "tcpPackets": {
80 "type": "integer",
81 "format": "int64",
82 "example": 69889
83 },
84 "udpPackets": {
85 "type": "integer",
86 "format": "int64",
87 "example": 69889
88 },
89 "dpiThroughputPps": {
90 "type": "number",
91 "format": "double",
92 "example": 69889.12
93 },
94 "dpiThroughputBps": {
95 "type": "number",
96 "format": "double",
97 "example": 69889.12
98 },
99 "trafficThroughputPps": {
100 "type": "number",
101 "format": "double",
102 "example": 69889.12
103 },
104 "trafficThroughputBps": {
105 "type": "number",
106 "format": "double",
107 "example": 69889.12
108 },
109 "trafficDurationSec": {
110 "type": "number",
111 "format": "double",
112 "example": 69889.12
113 },
114 "guessedFlowProtos": {
115 "type": "integer",
116 "format": "int32",
117 "example": 9889
118 }
Sangsik Yoon9df5bc62016-12-14 11:55:58 +0900119 }
120 },
121 "detectedProtos": {
122 "type": "array",
123 "xml": {
124 "name": "detectedProtos",
125 "wrapped": true
Sangsik Yoonf0b3ad82016-08-19 18:47:59 +0900126 },
Sangsik Yoon9df5bc62016-12-14 11:55:58 +0900127 "items": {
128 "type": "object",
129 "title": "protos",
130 "required": [
131 "name",
132 "breed",
133 "packets",
134 "bytes",
135 "flows"
136 ],
137 "properties": {
138 "name": {
139 "type": "string",
140 "example": "TCP"
141 },
142 "breed": {
143 "type": "string",
144 "example": "Acceptable"
145 },
146 "packets": {
147 "type": "integer",
148 "format": "int64",
149 "example": 69889
150 },
151 "bytes": {
152 "type": "integer",
153 "format": "int64",
154 "example": 69889
155 },
156 "flows": {
157 "type": "integer",
158 "format": "int32",
159 "example": 9889
Sangsik Yoonf0b3ad82016-08-19 18:47:59 +0900160 }
161 }
Sangsik Yoon9df5bc62016-12-14 11:55:58 +0900162 }
163 },
164 "knownFlows": {
165 "type": "array",
166 "xml": {
167 "name": "knownFlows",
168 "wrapped": true
Sangsik Yoonf0b3ad82016-08-19 18:47:59 +0900169 },
Sangsik Yoon9df5bc62016-12-14 11:55:58 +0900170 "items": {
171 "type": "object",
172 "title": "knownFlows",
173 "required": [
174 "protocol",
175 "hostAName",
176 "hostAPort",
177 "hostBName",
178 "hostBPort",
179 "detectedProtocol",
180 "detectedProtocolName",
181 "packets",
182 "bytes",
183 "hostServerName"
184 ],
185 "properties": {
186 "protocol": {
187 "type": "string",
188 "example": "TCP"
189 },
190 "hostAName": {
191 "type": "string",
192 "example": "10.0.20.50"
193 },
194 "hostAPort": {
195 "type": "integer",
196 "format": "int32",
197 "example": 9889
198 },
199 "hostBName": {
200 "type": "string",
201 "example": "10.0.20.10"
202 },
203 "hostBPort": {
204 "type": "integer",
205 "format": "int32",
206 "example": 8181
207 },
208 "detectedProtocol": {
209 "type": "integer",
210 "format": "int32",
211 "example": 80
212 },
213 "detectedProtocolName": {
214 "type": "string",
215 "example": "HTTP"
216 },
217 "packets": {
218 "type": "integer",
219 "format": "int64",
220 "example": 69889
221 },
222 "bytes": {
223 "type": "integer",
224 "format": "int64",
225 "example": 69889
226 },
227 "hostSeverName": {
228 "type": "string",
229 "example": "raptor"
Sangsik Yoonf0b3ad82016-08-19 18:47:59 +0900230 }
231 }
Sangsik Yoon9df5bc62016-12-14 11:55:58 +0900232 }
233 },
234 "unknownFlows": {
235 "type": "array",
236 "xml": {
237 "name": "unknownFlows",
238 "wrapped": true
Sangsik Yoonf0b3ad82016-08-19 18:47:59 +0900239 },
Sangsik Yoon9df5bc62016-12-14 11:55:58 +0900240 "items": {
241 "type": "object",
242 "title": "unknownFlows",
243 "required": [
244 "protocol",
245 "hostAName",
246 "hostAPort",
247 "hostBName",
248 "hostBPort",
249 "detectedProtocol",
250 "detectedProtocolName",
251 "packets",
252 "bytes",
253 "hostServerName"
254 ],
255 "properties": {
256 "protocol": {
257 "type": "string",
258 "example": "TCP"
259 },
260 "hostAName": {
261 "type": "string",
262 "example": "10.0.20.50"
263 },
264 "hostAPort": {
265 "type": "integer",
266 "format": "int32",
267 "example": 9889
268 },
269 "hostBName": {
270 "type": "string",
271 "example": "10.0.20.10"
272 },
273 "hostBPort": {
274 "type": "integer",
275 "format": "int32",
276 "example": 8181
277 },
278 "detectedProtocol": {
279 "type": "integer",
280 "format": "int32",
281 "example": 80
282 },
283 "detectedProtocolName": {
284 "type": "string",
285 "example": "HTTP"
286 },
287 "packets": {
288 "type": "integer",
289 "format": "int64",
290 "example": 69889
291 },
292 "bytes": {
293 "type": "integer",
294 "format": "int64",
295 "example": 69889
296 },
297 "hostSeverName": {
298 "type": "string",
299 "example": "raptor"
Sangsik Yoonf0b3ad82016-08-19 18:47:59 +0900300 }
301 }
302 }
303 }
304 }
305 }
306 }
307}