Authored by chunhua.zhang

Merge branch 'master' of git.yoho.cn:ops/malicious-detection

Showing 1 changed file with 18 additions and 1 deletions
@@ -15,4 +15,21 @@ File sample: @@ -15,4 +15,21 @@ File sample:
15 ``` 15 ```
16 File Pattern: `本地IP|用户IP|当前时间|HTTP请求方式|User-Agent|请求标示|请求参数|HTTP响应码|请求处理时间` 16 File Pattern: `本地IP|用户IP|当前时间|HTTP请求方式|User-Agent|请求标示|请求参数|HTTP响应码|请求处理时间`
17 17
18 -## File extractor  
  18 +## Spark streaming proccessing
  19 +### Top 100 IP QPS in 1 seconds
  20 +Given the table for Top QPS in 1 seconds. For example:
  21 +
  22 +| IP | QPS |
  23 +|---------|-----|
  24 +| 1.2.3.4 | 100 |
  25 +| 1.2.3.5 | 80 |
  26 +
  27 +### Top QPS IP Access Summary
  28 +Given the IPs ( in above table) Access summary, For example:
  29 +
  30 +| IP | method | QPS |
  31 +|---------|------------------------|-----|
  32 +| 1.2.3.4 | app.passport.signinAES | 100 |
  33 +| 1.2.3.4 | app.passport.profile | 80 |
  34 +| 1.2.3.5 | app.passport.profile | 30 |
  35 +