Focus on cloud service provider activities
Notes on website operation and maintenance

Knife for File Website Log File Cutting Tool and Log Analysis Tool

Whether we use a virtual host or a VPS host, especially the latter, we recommend that you enable the log function when deploying the WEB panel or the one click package, because during the operation of the website, you can check the user's access and spider crawl through the log. Although most users, like Lao Zuo, can only see a general picture, they can also look at it anyway.

There is a problem here. If the webmaster is more diligent, he may conduct daily analysis on the website logs, and then clean up the logs of the day. There are not many logs left. However, if we do not organize and maintain the log, it may be very large when we look at the log, for example, log LOG files of dozens of megabytes or several gigabytes may be seen. Even if we download it locally, it is troublesome to open it with text, so we need to cut the log file and find the latest part for analysis.

Originally, Lao Zuo wanted to prepare some habits when he wrote this article Log cutter But later, I thought about why we need so many. It's OK to have one that works, so I found this model Knife for File The tool can be used to cut according to the set size.

First Knife for File Use of tools

Software download address: https://soft.laozuo.org/tools/Knife4File.zip

 Use of Knife for File tool

We can cut and integrate according to the selected documents.

 Use of Knife for File tool

The files that can be cut and integrated are not only log LOG files, but also movie format files. For the cutting of files, including simplified Chinese, traditional Chinese, English and Japanese languages. For example, Lao Zuo needs to cut the log file smaller, and then open the document to view it manually, or use an analysis tool to view it.

Second, log analysis tool

Log analysis can be performed manually or viewed with tools. 360 star map is recommended.

A. Download and install software( http://wangzhan.360.cn/xingtu

B. Configure the log path of the conf-config.ini file

C. We just need to put the name of the downloaded log into the local disk (set by ourselves) according to the above path, and then start and click start.bat to run the analysis.

D. After analysis, we can see the analysis result HTML file in the result folder, and we can open it to see the data.

 360 Star Map WEB Log Analysis Data Results

In addition to this tool, there are many log analysis tools, including a previous log analysis tool called Lightyear.

To sum up, we choose tools for the same reason as we choose VPS hosts. No matter how many can be used, as long as we can find a suitable one for ourselves.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Knife for File Website Log File Cutting Tool and Log Analysis Tool


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge