blob: 43f4679a011ad4237320175ad98970902b17cf58 [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 }
119 },
120 "detectedProtos": {
121 "type": "array",
122 "xml": {
123 "name": "detectedProtos",
124 "wrapped": true
125 },
126 "items": {
127 "type": "object",
128 "title": "protos",
129 "required": [
130 "name",
131 "breed",
132 "packets",
133 "bytes",
134 "flows"
135 ],
136 "properties": {
137 "name": {
138 "type": "string",
139 "example": "TCP"
140 },
141 "breed": {
142 "type": "string",
143 "example": "Acceptable"
144 },
145 "packets": {
146 "type": "integer",
147 "format": "int64",
148 "example": 69889
149 },
150 "bytes": {
151 "type": "integer",
152 "format": "int64",
153 "example": 69889
154 },
155 "flows": {
156 "type": "integer",
157 "format": "int32",
158 "example": 9889
159 }
160 }
161 }
162 },
163 "knownFlows": {
164 "type": "array",
165 "xml": {
166 "name": "knownFlows",
167 "wrapped": true
168 },
169 "items": {
170 "type": "object",
171 "title": "knownFlows",
172 "required": [
173 "protocol",
174 "hostAName",
175 "hostAPort",
176 "hostBName",
177 "hostBPort",
178 "detectedProtocol",
179 "detectedProtocolName",
180 "packets",
181 "bytes",
182 "hostServerName"
183 ],
184 "properties": {
185 "protocol": {
186 "type": "string",
187 "example": "TCP"
188 },
189 "hostAName": {
190 "type": "string",
191 "example": "10.0.20.50"
192 },
193 "hostAPort": {
194 "type": "integer",
195 "format": "int32",
196 "example": 9889
197 },
198 "hostBName": {
199 "type": "string",
200 "example": "10.0.20.10"
201 },
202 "hostBPort": {
203 "type": "integer",
204 "format": "int32",
205 "example": 8181
206 },
207 "detectedProtocol": {
208 "type": "integer",
209 "format": "int32",
210 "example": 80
211 },
212 "detectedProtocolName": {
213 "type": "string",
214 "example": "HTTP"
215 },
216 "packets": {
217 "type": "integer",
218 "format": "int64",
219 "example": 69889
220 },
221 "bytes": {
222 "type": "integer",
223 "format": "int64",
224 "example": 69889
225 },
226 "hostSeverName": {
227 "type": "string",
228 "example": "raptor"
229 }
230 }
231 }
232 },
233 "unknownFlows": {
234 "type": "array",
235 "xml": {
236 "name": "unknownFlows",
237 "wrapped": true
238 },
239 "items": {
240 "type": "object",
241 "title": "unknownFlows",
242 "required": [
243 "protocol",
244 "hostAName",
245 "hostAPort",
246 "hostBName",
247 "hostBPort",
248 "detectedProtocol",
249 "detectedProtocolName",
250 "packets",
251 "bytes",
252 "hostServerName"
253 ],
254 "properties": {
255 "protocol": {
256 "type": "string",
257 "example": "TCP"
258 },
259 "hostAName": {
260 "type": "string",
261 "example": "10.0.20.50"
262 },
263 "hostAPort": {
264 "type": "integer",
265 "format": "int32",
266 "example": 9889
267 },
268 "hostBName": {
269 "type": "string",
270 "example": "10.0.20.10"
271 },
272 "hostBPort": {
273 "type": "integer",
274 "format": "int32",
275 "example": 8181
276 },
277 "detectedProtocol": {
278 "type": "integer",
279 "format": "int32",
280 "example": 80
281 },
282 "detectedProtocolName": {
283 "type": "string",
284 "example": "HTTP"
285 },
286 "packets": {
287 "type": "integer",
288 "format": "int64",
289 "example": 69889
290 },
291 "bytes": {
292 "type": "integer",
293 "format": "int64",
294 "example": 69889
295 },
296 "hostSeverName": {
297 "type": "string",
298 "example": "raptor"
299 }
300 }
301 }
302 }
303 }
304 }
305 }
306 }
307}