NGINX log analysis method and system
An analysis method and analysis system technology, which is applied in the field of NGINX log analysis method and system, can solve the problems of poor analysis efficiency and lack of simplicity of operation, and achieve the effect of realizing automation, reducing the process of manual analysis of log structure, and improving analysis efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 A schematic flowchart of an NGINX log analysis method of the present invention, such as figure 1 As shown, an NGINX log analysis method includes:
[0048] Step 101: Obtain the path of the NGINX log configuration file.
[0049] Wherein, before step 101, it also includes:
[0050] The user enters the NGINX log configuration file path through a browser.
[0051] Wherein, step 101 specifically includes:
[0052] The user enters the NGINX log configuration path through the client browser, and receives the path of the NGINX configuration file nginx.conf entered by the user.
[0053] Step 102: Read NGINX log configuration information according to the NGINX log configuration file path.
[0054] Wherein, step 102 specifically includes:
[0055] Obtain the NGINX log configuration file according to the NGINX log configuration file path;
[0056] Obtain the log format configuration in the NGINX log configuration file by using preset keywords;
[0057] By matching t...
Embodiment 2
[0071] In this embodiment, an NGINX log analysis method of the present invention is used to analyze and obtain the access information of the response status code of the system 404 . The method includes the following steps:
[0072] Step1: Receive the NGINX configuration file nginx.conf path entered by the user.
[0073] Step 2: Read the NGINX log configuration according to the path entered by the user in the NGINX log configuration file nginx.conf. Intercept the NGINX log configuration content according to the NGINX log configuration keywords, analyze the NGINX log configuration, confirm the log format and order, and convert it into a LINUX execution script.
[0074] Step 3: Obtain the location of the NGINX log file according to the NGINX log configuration keyword, extract the NGINX log to be analyzed, execute the LINUX execution script converted in Step 2, and save the execution result.
[0075] Step 4: Analyze and obtain the system service data, import the execution result...
Embodiment 3
[0085] image 3 A schematic diagram of the structure of an NGINX log analysis system of the present invention, such as image 3 As shown, an NGINX log analysis system includes:
[0086] The log configuration file path obtaining module 201 is used to obtain the NGINX log configuration file path;
[0087] A log configuration information reading module 202, configured to read NGINX log configuration information according to the NGINX log configuration file path;
[0088] The NGINX log format assembly execution script determining module 203 is configured to determine the NGINX log format assembly execution script according to the NGINX log configuration information;
[0089] The NGINX log format assembly execution script execution module 204 is used for extracting the part to be analyzed in the NGINX log, and adopts the NGINX log format assembly execution script to format the to-be-analyzed part and save the execution result after the format conversion;
[0090] An analysis res...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com