日志分析工具简明操作教程
接上一篇文章,还没有下载分析工具的,可以点这里:web网站日志分析工具
这里我还准备了一份apache格式的测试数据,手上没有现在数据的,可以点这里:测试数据
工具下载好后,不用安装,解压就可以使用。
一,日志导入与管理
打开工具,找到左上角的指定日志,点击选择按钮,打开日志文件管理窗口,如下:
导入日志的操作如下:
10行测试数据:
1 220.181.108.108 - - [12/May/2020:03:10:16 +0800] "GET /plus/filter.php?q=0-640x1136-orange-363-3 HTTP/1.0" 200 24760 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" 74999 2 110.249.201.241 - - [12/May/2020:03:10:30 +0800] "GET /photos/20171115/1-1G115232502-50-lp.jpg HTTP/1.0" 404 5085 "http://m.aaa.com/view.php?aid=1224" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Version/7.0 Mobile Safari/537.36 (compatible; Bytespider; https://zhanzhang.toutiao.com/)" 2153 3 110.249.202.120 - - [12/May/2020:03:10:42 +0800] "GET /photos/20171020/1-1G020151H3.jpg HTTP/1.0" 404 5085 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36" 1789 4 111.225.149.249 - - [12/May/2020:03:11:01 +0800] "GET /photos/20200417/1-20041G60459-lp.jpg HTTP/1.0" 404 5085 "http://m.aaa.com/view.php?aid=972" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Version/7.0 Mobile Safari/537.36 (compatible; Bytespider; https://zhanzhang.toutiao.com/)" 1996 5 106.11.153.85 - - [12/May/2020:03:11:18 +0800] "GET /plus/pixel.php?pid=12752&pixel=640x1136 HTTP/1.0" 200 8524 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36" 34601 6 110.249.201.207 - - [12/May/2020:03:11:18 +0800] "GET /photos/20170524/1-1F524145917-lp.jpg HTTP/1.0" 404 5085 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36" 4261 7 42.156.138.6 - - [12/May/2020:03:11:18 +0800] "GET /plus/pixel.php?pid=12752&pixel=750x1334 HTTP/1.0" 200 8524 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36" 21804 8 42.120.160.105 - - [12/May/2020:03:11:19 +0800] "GET /plus/pixel.php?pid=14635&pixel=540x960 HTTP/1.0" 200 8515 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36" 21553 9 42.156.254.16 - - [12/May/2020:03:11:20 +0800] "GET /tags.php?/%e7%a9%ba%e9%97%b4%e7%ab%99/7/ HTTP/1.0" 200 16660 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36" 62238 10 116.179.32.110 - - [12/May/2020:03:11:44 +0800] "GET /plus/filter.php?q=game-0-black_and_white-0-1 HTTP/1.0" 200 19846 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" 157477
二,对日志进行条件筛选:
筛选条件的收起与展开:
三,分析报告的查看:
大致的操作这是这样的,如果有什么问题,希望大家给我反馈。