A Correlation Analysis Method Based on Web Log
A correlation analysis and WEB server technology, applied in the field of correlation analysis based on WEB logs, can solve problems such as system attack, independent analysis of single log exception, failure to analyze log correlation, etc., and achieve the effect of wide applicability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] combined with figure 1 As shown, a method for correlation analysis based on WEB logs includes the following steps:
[0038] 1) Log data collection
[0039] Such as figure 2 As shown, use nginx+lua to collect log data in a unified format. You can also use OpenResty directly. OpenResty is a high-performance web platform based on Nginx and Lua. The data to be collected here includes the following fields:
[0040] Session ID: sessionId,
[0041] Access interface path: urlPath,
[0042] The method of accessing the interface: method
[0043] User ip: clientIp
[0044] Access time: timestamp
[0045] 2) Log data preprocessing
[0046] Convert the log information collected above into a standard json format, where the time format is unified as yyyy-MM-dd HH:mm:ss
[0047] Such as:
[0048]
[0049]
[0050] Use sessionId as the grouping condition to divide the logs into different groups, that is, the data in each group is the data in the same web access session ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


