当前位置:网站首页>Spark log analysis
Spark log analysis
2022-06-26 00:44:00 【bingoabin】
1. summary
When the browser requests the server , If the access log is set on the server , The user's access records will be recorded . In the log , It usually contains a lot of information , But this information is not easy to use , Here we're going to talk about Apache Of access.log Log analysis , To further study Spark Program development under .
2. Suppose the demand
Suppose to provide us with a apache Of access.log file , According to business needs , We need to analyze and get the following requirements :
1. Statistics of daily page visits
2. Count each different HTTP The number of accesses corresponding to the status
3. Statistics are different and independent IP Of visits
4. Count the number of visits to different pages
3. preparation
3.1 Log file download
Download the log for the specified analysis , Of course, you can also use your own real Apache journal , stay tomcat Of logs Directory , In order to make the analysis results more intuitive and obvious , It is recommended to use the download log .
Apache access.log Log download address :http://labfile.oss.aliyuncs.com/courses/456/access.log
3.2 Log file format
After the downloaded log file is opened, it looks like this :
边栏推荐
- Setting up a cluster environment under Linux (2) -- installing MySQL under Linux
- Solution to SMT grape ball phenomenon
- DPVS fullnat mode deployment
- Ffmpeg version switching
- QT custom QSlider with cursor
- Anti shake and throttling
- Tensorrt PB to UF problem
- 信号处理函数内必须使用可重入函数
- STL tutorial 5-basic concepts of STL and the use of string and vector
- Function and principle of SPI solder paste inspection machine
猜你喜欢

基于OpenVINOTM开发套件“无缝”部署PaddleNLP模型

When installing PSU /usr/bin/ld:warning: -z lazload ignore

Simulink求解器综合介绍

C IO stream (II) extension class_ Packer

mtb13_ Perform extract_ blend_ Super{candidate (primaryalternate) \u unique (nullable filtering \foreign\index\granulati

Compiler Telegram Desktop end (tdesktop) en utilisant vs2022

Drag the mouse to rotate the display around an object

QT excellent open source project 9: qtox

Cloud rendering and Intel jointly create the "core" era of cloud rendering

1-10vmware builds customized network architecture
随机推荐
Types of feeder and how to work
DPVS fullnat mode deployment
Ssl/tls, symmetric and asymmetric encryption, and tlsv1.3
1-9Vmware中网络配置
Regular expression introduction and some syntax
Megacli common command collation
Ad20 (Altium designer) PCB highlight network
被新冠后遗症困住15个月后,斯坦福学霸被迫缺席毕业典礼,现仍需每天卧床16小时:我本该享受20岁的人生啊...
Drag the mouse to rotate the display around an object
How to bypass SSL authentication
Methods to realize asynchrony
What are the red lines of open source that should not be trodden on?
mongodb
使用VS2022编译Telegram桌面端(tdesktop)
学习识别对话式问答中的后续问题
【OEM专场活动】清“芯”夏日,有奖征文
Summary of common terms and knowledge in SMT chip processing industry
Compiler Telegram Desktop end (tdesktop) en utilisant vs2022
When installing PSU /usr/bin/ld:warning: -z lazload ignore
Darkent2ncnn error