System and method for one-key batch collection of server logs on production line

By using a one-click batch server log collection system and leveraging multi-platform collaboration, the problem of requiring individual logins in traditional server log systems has been solved, achieving efficient and automated log collection and security protection.

CN118916231AInactive Publication Date: 2024-11-08百信信息技术有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410929405.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional server log systems require logging in separately on each server and entering a username and password. This results in low efficiency when downloading logs and requires repeated login operations when collecting logs multiple times.

Method used

This invention provides a system for one-click batch collection of server logs in production lines, including an infrastructure platform, a log management platform, a security analysis platform, a threat analysis platform, a network device auditing platform, and a compliance management platform. It enables centralized collection, cleaning, analysis, and display of logs from multiple servers through a single console, and utilizes Python functions and SFTP to achieve automated log downloading and renaming.

Benefits of technology

It enables one-click collection of logs from multiple servers on a single client, reducing repeated login operations, improving log collection efficiency, and achieving automated batch log processing and security protection through multi-threaded parallel processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916231A_ABST
    Figure CN118916231A_ABST
Patent Text Reader

Abstract

The invention discloses a production line one-key batch collection server log system and method, and the system comprises a log system which comprises an infrastructure platform, a log management platform, a security analysis platform, a threat analysis platform, a network equipment auditing platform and a compliance management platform. The infrastructure platform collects, cleans, filters, displays and analyzes server logs; the log management platform collects and analyzes logs for all the final user equipment on a single console; according to the technical method, logs of multiple servers are collected on one client side in a one-key mode, server information only needs to be collected once, and then all the server logs are collected multiple times in a one-key mode; a log management platform and an infrastructure platform are arranged, only machine information needs to be collected once, then all machine log information is collected in a one-key mode, and the log information is arranged and renamed under a folder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of production lines, and in particular to a system and method for collecting server logs in batches with one click on a production line. Background Art

[0002] At present, the main way to collect server logs in the market is to log in to the BMC web interface of each server through the web page and find the one-click collection of server logs and click one-click collection. After waiting for the download to complete, rename and organize the files and save them. Alternatively, most servers have their own event viewer, which can be used to view the server's operation logs. After opening the event viewer, you can see multiple categories such as system logs, application logs, and security logs. Select the corresponding log to view as needed, or use some command line tools to view the server logs. For example, in Linux systems, you can use commands such as tail and grep to view log files, and in Windows systems, you can use commands such as PowerShell to view log files.

[0003] However, the traditional server log system has the following disadvantages:

[0004] The obvious drawback of the traditional server log system is that you must log in to each client separately, enter the username and password, and then wait for all machines to log in, find the one-click log collection button, click it, and wait for each server to download, and then organize and collect. When collecting all server machine logs multiple times, you need to log in again and download each time. Summary of the invention

[0005] The purpose of the present invention is to provide a system and method for batch collection of server logs in a production line with one click, so as to solve the obvious drawback of the traditional server log system mentioned in the above background technology, that is, it is necessary to log in to each client separately, enter the user name and password, and then wait for all machines to log in, find the one-click collection log button, click it, and wait for each server to complete the download, and then organize and collect. When collecting all server machine logs multiple times, it is necessary to log in again and download each time.

[0006] To achieve the above-mentioned object, the present invention provides the following technical solutions: a system for collecting server logs in batches with one click on a production line, comprising a log system, wherein the log system comprises an infrastructure platform, a log management platform, a security analysis platform, a threat analysis platform, a network equipment audit platform and a compliance management platform;

[0007] The infrastructure platform collects, cleans, filters, displays and analyzes server logs;

[0008] The log management platform collects and analyzes logs for all end-user devices on a single console;

[0009] The security analytics platform detects security events and obtains actionable insights using advanced security analytics mechanisms;

[0010] The threat analytics platform protects networks from unwanted breach attempts and theft of critical data through threat detection and mitigation;

[0011] The network device audit platform monitors all important network devices, such as firewalls, routers, and switches;

[0012] Organizations within the compliance management platform take proactive measures to establish cybersecurity processes to detect network anomalies, attacks and other vulnerabilities that may lead to compromise of sensitive corporate information, and to classify and process logs.

[0013] As a preferred technical solution of the present invention, the infrastructure platform includes a data acquisition module, a data cleaning module, a data filtering module, a data display module and a data analysis module. The data acquisition module collects server logs, the data cleaning module cleans the collected server logs, the data filtering module filters and selects the collected server logs according to collection requirements, the data display module displays the server logs, and the data analysis module analyzes the information in the server logs.

[0014] As a preferred technical solution of the present invention, the log management platform includes a log collection module, a log storage module, a log normalization module, a log analysis module and a report alarm module. The log collection module collects logs from various devices, servers and applications in the network. The log storage module stores them in an archive for forensic analysis and compliance requirements. The log data storage should be secure, for example, encrypted. In addition, the storage should be tamper-proof, and the retention period should be flexible, preferably a user-configured storage location and flexible media. The logs from heterogeneous sources in the log normalization module should be normalized to have a common format. The log analysis module analyzes logs to fully understand network security events. Logs are even associated across multiple devices to help fully understand network events. The report alarm module analyzes logs to generate reports and alarms. There should be canned, customizable, customized and scheduled reports in different formats and distributions. The alarm should be notified in real time, there should be more notification mechanisms, and even other procedures should be executed to perform remedial measures.

[0015] As a preferred technical solution of the present invention, the security analysis platform includes a Syslog monitoring module, an event log monitoring module, a search module and a forensic analysis module. The Syslog monitoring module enhances network visibility and security on a centralized system log server. The event log monitoring module collects and monitors event logs from Windows devices and obtains in-depth reports and real-time alerts about suspicious activities. The search module keeps abreast of security events of interest by saving search queries as alert profiles so as to immediately receive alerts of suspicious activities. The forensic analysis module protects the network from future attacks by performing forensic analysis and tracing back the steps taken by the attacker.

[0016] As a preferred technical solution of the present invention, the threat analysis platform includes a Windows threat detection module, a file integrity monitoring module, a Linux file integrity monitoring module, a privileged user activity audit module, a real-time event log correlation module, a threat intelligence module and an automatic event response module. The Windows threat detection module protects security tools such as vulnerability scanners, endpoint security protection tools and perimeter security devices. The file integrity monitoring module tracks key changes on files and folders, such as creation, deletion, access, modification and renaming, and receives alerts of suspicious activities. The Linux file integrity monitoring module detects changes made to files, folders and directories in the Linux system. The privileged user activity audit module tracks privileged user activities and detects suspicious events such as unauthorized logins, login failures and access attempts during non-working hours. The real-time event log correlation module accurately detects security threats and identifies attack patterns by correlating suspicious events across the entire network. The threat intelligence module receives real-time alerts of malicious traffic entering and exiting blacklisted IP addresses, domains and URLs through a built-in STIX / TAXII feed processor. The automatic event response module uses predefined event workflows to mitigate different types of security events, such as external threats, and uses a drag-and-drop workflow builder interface to build custom event workflows.

[0017] As a preferred technical solution of the present invention, the network device audit platform includes a VPN log monitoring module, a router switch log audit module, an IDS / IPS log monitoring module and a firewall log review module. The VPN log monitoring module obtains actionable insights about VPN user details, audits VPN logins, and analyzes trends in login patterns. The router switch log audit module monitors router traffic and user activities in HP and Juniper devices and identifies suspicious events that threaten network security. The IDS / IPS log monitoring module collects IDS / IPS logs and accesses them from a centralized location to obtain valuable network threat information about attack types and target devices. The firewall log review module reviews Cisco firewalls, Cisco Meraki firewalls, Windows firewalls, H3C firewalls, SonicWall firewalls, PaloAlto Networks firewalls, Fortinet and FortiGate firewalls, Sophos firewalls, Check Point firewalls, WatchGuard firewalls and Huawei firewall logs to monitor inbound and outbound traffic and protect the network from firewall-based network attacks.

[0018] As a preferred technical solution of the present invention, the compliance management platform includes a log level module, a log processing module and a compliance report module. The log level module divides the log into: basic notification information, ordinary information, but with a certain importance, warning information, but will not affect the operation of the service or system, error information, information reaching the err level has affected the operation of the server system, critical condition information, which is more severe than the err level, status information, which is more serious than the crit level and immediate action must be taken, pain level information, the system is no longer usable, the log processing module compresses and dumps the logs after gzip compression, does not compress, is used for log files that are still open, backs up and truncates the current log, backs up the log file but does not truncate it, dumps the file, uses the specified permissions, owner, and group to create a new log file, and does not create a new When the log file is used with compress, the dumped log file will not be compressed until the next dump, overwrite the delaycompress option, and compress at the same time when dumping. The error information during storage is sent to the specified Email address. Even empty files are dumped, which is the default option. If it is an empty file, it will not be dumped. The dumped log file will be sent to the specified Email address. The log file will not be sent during dumping. The dumped log file is placed in the specified directory and must be in the same file system as the current log file. The dumped log file and the current log file are placed in the same directory. The commands that need to be executed before dumping, these two keywords must be in separate lines. The commands that need to be executed after dumping, these two keywords must be in separate lines. The dumping period is specified to be every day. The compliance report module creates a custom compliance report that meets the requirements.

[0019] The present invention provides a method for using a production line one-key batch collection server log system, comprising the following steps:

[0020] Step 1: Data collection: The basic framework platform collects all server IPs, user names, and passwords and writes them into the Config file required by the program. The default user names and passwords are unified and only the IP addresses need to be collected.

[0021] Step 2: Log sorting: The log management platform creates a function through Python to implement ssh login, generate server logs, and then download the generated files to the local computer through sftp and rename and sort them;

[0022] Step 3, log display: After the tool is protected by the security analysis platform, threat analysis platform and network equipment audit platform, all user information read from the config file is brought into the created functions mentioned above in the main function, and all server logs are collected, downloaded and renamed simultaneously through multi-threading.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] 1. Using this technical method, you can collect multiple server logs with one click on a client, and you only need to collect server information once, and then collect all server logs with one click multiple times;

[0025] 2. By setting up the log management platform and infrastructure platform, you only need to collect machine information once, and then collect all machine log information with one click, and organize and rename it in a folder. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a schematic diagram of the architecture of the log system of the present invention;

[0027] Figure 2 It is a schematic diagram of the architecture of the basic architecture platform of the present invention;

[0028] Figure 3 This is a schematic diagram of the architecture of the log management platform of the present invention;

[0029] Figure 4 This is a schematic diagram of the architecture of the security analysis platform of the present invention;

[0030] Figure 5 A schematic diagram of the architecture of the threat analysis platform of the present invention;

[0031] Figure 6 This is a schematic diagram of the architecture of the network device audit platform of the present invention;

[0032] Figure 7 It is a schematic diagram of the architecture of the compliance management platform of the present invention;

[0033] Figure 8 is a flow chart of the present invention;

[0034] Fig. 9 This is a diagram of the operating results of the present invention. DETAILED DESCRIPTION

[0035] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] See also Figure 1-9 , the present invention provides a production line one-click batch collection server log system, including a log system, the log system includes an infrastructure platform, a log management platform, a security analysis platform, a threat analysis platform, a network equipment audit platform and a compliance management platform;

[0037] The infrastructure platform collects, cleans, filters, displays and analyzes server logs;

[0038] Log management platforms collect and analyze logs for all end-user devices on a single console;

[0039] The security analytics platform detects security incidents and uses advanced security analytics to gain actionable insights;

[0040] Threat analytics platforms protect networks from unwanted breach attempts and theft of critical data through threat detection and mitigation;

[0041] The network device audit platform monitors all important network devices such as firewalls, routers, and switches;

[0042] Organizations within the compliance management platform take proactive steps to establish cybersecurity processes to detect network anomalies, attacks, and other vulnerabilities that may compromise sensitive corporate information, and to classify and process logs.

[0043] The infrastructure platform includes a data collection module, a data cleaning module, a data filtering module, a data display module and a data analysis module. The data collection module collects server logs, the data cleaning module cleans the collected server logs, the data filtering module filters and selects the collected server logs according to the collection requirements, the data display module displays the server logs, and the data analysis module analyzes the information in the server logs.

[0044] The log management platform includes a log collection module, a log storage module, a log normalization module, a log analysis module, and a report and alarm module. The log collection module collects logs from various devices, servers, and applications in the network. The log storage module stores them in archives for forensic analysis and compliance requirements. Log data storage should be secure, for example, encrypted. In addition, storage should be tamper-proof, and the retention period should be flexible. It is best to be user-configurable. The storage location and media are flexible. The log normalization module logs from heterogeneous sources should be normalized to have a common format. The log analysis module analyzes logs to fully understand network security events. Logs are even correlated across multiple devices to help fully understand network events. The report and alarm module analyzes logs to generate reports and alarms. There should be canned, customizable, customized, and scheduled reports in different formats and distributable. The alarm should notify in real time. There should be more notification mechanisms, and even other procedures should be executed to perform remedial measures.

[0045] The security analysis platform includes Syslog monitoring module, event log monitoring module, search module and forensic analysis module. The Syslog monitoring module enhances network visibility and security on the centralized system log server. The event log monitoring module collects and monitors event logs from Windows devices and obtains in-depth reports and real-time alerts about suspicious activities. The search module keeps abreast of security events of interest by saving search queries as alert profiles so that you can receive alerts of suspicious activities immediately. The forensic analysis module protects the network from future attacks by performing forensic analysis and tracing back the steps taken by the attacker.

[0046] The threat analysis platform includes Windows threat detection module, file integrity monitoring module, Linux file integrity monitoring module, privileged user activity audit module, real-time event log correlation module, threat intelligence module and automatic incident response module. The Windows threat detection module protects security tools such as vulnerability scanners, endpoint security protection tools and perimeter security devices. The file integrity monitoring module tracks key changes on files and folders, such as creation, deletion, access, modification and renaming, and receives alerts on suspicious activities. The Linux file integrity monitoring module detects changes made to files, folders and directories in the Linux system. The privileged user activity audit module tracks privileged user activities and detects suspicious events such as unauthorized logins, login failures and access attempts during non-working hours. The real-time event log correlation module accurately detects security threats and identifies attack patterns by correlating suspicious events across the network. The threat intelligence module receives real-time alerts on malicious traffic entering and leaving blacklisted IP addresses, domains and URLs through the built-in STIX / TAXII feed processor. The automatic incident response module utilizes predefined event workflows to mitigate different types of security incidents, such as external threats, and uses the drag-and-drop workflow builder interface to build custom event workflows.

[0047] The network device audit platform includes VPN log monitoring module, router switch log audit module, IDS / IPS log monitoring module and firewall log audit module. The VPN log monitoring module obtains actionable insights about VPN user details, audits VPN logins, and analyzes trends in login patterns. The router switch log audit module monitors router traffic and user activities in HP and Juniper devices and identifies suspicious events that threaten network security. The IDS / IPS log monitoring module collects IDS / IPS logs and accesses them from a centralized location to obtain valuable network threat information about attack types and target devices. The firewall log audit module audits Cisco firewalls, Cisco Meraki firewalls, Windows firewalls, H3C firewalls, SonicWall firewalls, Palo Alto Networks firewalls, Fortinet and FortiGate firewalls, Sophos firewalls, Check Point firewalls, WatchGuard firewalls and Huawei firewall logs to monitor inbound and outbound traffic and protect the network from firewall-based network attacks.

[0048] The compliance management platform includes a log level module, a log processing module and a compliance report module. The log level module divides logs into: basic notification information, ordinary information, but with a certain degree of importance, warning information, but it will not affect the operation of the service or system, error information, information that reaches the err level has affected the operation of the server system, critical status information, which is more severe than the err level, status information, which is more serious than the crit level and requires immediate action, pain level information, the system is no longer usable, the log processing module dumps the logs after gzip compression, no compression, for log files that are still open, backs up and truncates the current log, backs up the log file but does not truncate it, dumps the file, uses the specified permissions, owner, and group to create a new log file, does not create a new log file, and comp When used with ress, the dumped log file will not be compressed until the next dump, overwriting the delaycompress option, and the dump will be compressed at the same time. The error information during storage is sent to the specified Email address. Even empty files are dumped. This is the default option. If it is an empty file, it will not be dumped. The dumped log file is sent to the specified Email address. The log file is not sent during dumping. The dumped log file is placed in the specified directory and must be in the same file system as the current log file. The dumped log file and the current log file are placed in the same directory. The commands that need to be executed before dumping, these two keywords must be in separate lines. The commands that need to be executed after dumping, these two keywords must be in separate lines. The specified dump period is daily. The compliance report module creates custom compliance reports that meet the requirements.

[0049] The present invention provides a method for using a production line one-key batch collection server log system, comprising the following steps:

[0050] Step 1: Data collection: The basic framework platform collects all server IPs, user names, and passwords and writes them into the Config file required by the program. The default user names and passwords are unified and only the IP addresses need to be collected.

[0051] Step 2: Log sorting: The log management platform creates a function through Python to implement ssh login, generate server logs, and then download the generated files to the local computer through sftp and rename and sort them;

[0052] Step 3, log display: After the tool is protected by the security analysis platform, threat analysis platform and network equipment audit platform, all user information read from the config file is brought into the created functions mentioned above in the main function, and all server logs are collected, downloaded and renamed simultaneously through multi-threading.

[0053] In the present invention, the basic framework platform collects all server IPs, user names, and passwords and writes them into the Config file required by the program. The default user names and passwords are unified and only the IP addresses need to be collected. The log management platform creates a function through Python to implement ssh login, generate server logs, and then downloads the generated files to the local through sftp and renames them for sorting and collection. After the tool is protected by the security analysis platform, threat analysis platform, and network equipment audit platform, all user information read from the config file is respectively brought into the created functions mentioned above in the main function, and all server logs are collected, downloaded, and renamed at the same time through multi-threading. Fig. 9 Without any dependent environment, just double-click Collec.exe on the client, it will automatically collect the log information of all servers written in hosts.cfg and rename it with the server IP, and output the running results to log.txt.

[0054] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A production line one-click batch collection server log system, including a log system, characterized in that: The log system includes an infrastructure platform, a log management platform, a security analysis platform, a threat analysis platform, a network equipment audit platform and a compliance management platform; The infrastructure platform collects, cleans, filters, displays and analyzes server logs; The log management platform collects and analyzes logs for all end-user devices on a single console; The security analytics platform detects security events and obtains actionable insights using advanced security analytics mechanisms; The threat analytics platform protects networks from unwanted breach attempts and theft of critical data through threat detection and mitigation; The network device audit platform monitors all important network devices, such as firewalls, routers, and switches; Organizations within the compliance management platform take proactive measures to establish cybersecurity processes to detect network anomalies, attacks and other vulnerabilities that may lead to compromise of sensitive corporate information, and to classify and process logs.

2. According to claim 1, a production line one-click batch collection server log system is characterized by: The infrastructure platform includes a data acquisition module, a data cleaning module, a data filtering module, a data display module and a data analysis module. The data acquisition module collects server logs, the data cleaning module cleans the collected server logs, the data filtering module filters and selects the collected server logs according to collection requirements, the data display module displays the server logs, and the data analysis module analyzes the information in the server logs.

3. According to claim 1, a production line one-click batch collection server log system is characterized by: The log management platform includes a log collection module, a log storage module, a log normalization module, a log analysis module and a report alarm module. The log collection module collects logs from various devices, servers and applications used in the network. The log storage module stores them in archives for forensic analysis and compliance requirements. Log data storage should be secure, for example, encrypted. In addition, storage should be tamper-proof, and the retention period should be flexible, preferably user-configurable storage location and media. The log normalization module logs from heterogeneous sources should be normalized to have a common format. The log analysis module analyzes logs to fully understand network security events. Logs are even associated across multiple devices to help fully understand network events. The report alarm module analyzes logs to generate reports and alarms. There should be canned, customizable, customized and scheduled reports in different formats and distributions. The alarm should notify in real time, there should be more notification mechanisms, and even other procedures should be executed to perform remedial measures.

4. According to claim 1, a production line one-click batch collection server log system is characterized by: The security analysis platform includes a Syslog monitoring module, an event log monitoring module, a search module and a forensic analysis module. The Syslog monitoring module enhances network visibility and security on a centralized system log server. The event log monitoring module collects and monitors event logs from Windows devices and obtains in-depth reports and real-time alerts about suspicious activities. The search module keeps abreast of security events of interest by saving search queries as alert profiles so as to receive alerts of suspicious activities immediately. The forensic analysis module protects the network from future attacks by performing forensic analysis and tracing back the steps taken by the attacker.

5. According to claim 1, a production line one-click batch collection server log system is characterized by: The threat analysis platform includes a Windows threat detection module, a file integrity monitoring module, a Linux file integrity monitoring module, a privileged user activity auditing module, a real-time event log correlation module, a threat intelligence module and an automatic incident response module. The Windows threat detection module protects security tools such as vulnerability scanners, endpoint security protection tools and perimeter security devices. The file integrity monitoring module tracks key changes on files and folders, such as creation, deletion, access, modification and renaming, and receives alerts of suspicious activities. The Linux file integrity monitoring module detects changes made to files, folders and directories in the Linux system. The privileged user activity auditing module tracks privileged user activities and detects suspicious events such as unauthorized logins, login failures and access attempts during non-working hours. The real-time event log correlation module accurately detects security threats and identifies attack patterns by correlating suspicious events across the entire network. The threat intelligence module receives real-time alerts of malicious traffic entering and exiting blacklisted IP addresses, domains and URLs through a built-in STIX / TAXII feed processor. The automatic incident response module uses predefined event workflows to mitigate different types of security events, such as external threats, and uses a drag-and-drop workflow builder interface to build custom event workflows.

6. According to claim 1, a production line one-click batch collection server log system is characterized by: The network device audit platform includes a VPN log monitoring module, a router switch log audit module, an IDS / IPS log monitoring module and a firewall log review module. The VPN log monitoring module obtains actionable insights about VPN user details, audits VPN logins, and analyzes trends in login patterns. The router switch log audit module monitors router traffic and user activities in HP and Juniper devices and identifies suspicious events that threaten network security. The IDS / IPS log monitoring module collects IDS / IPS logs and accesses them from a centralized location to obtain valuable network threat information about attack types and target devices. The firewall log review module reviews Cisco firewalls, Cisco Meraki firewalls, Windows firewalls, H3C firewalls, SonicWall firewalls, Palo Alto Networks firewalls, Fortinet and FortiGate firewalls, Sophos firewalls, Check Point firewalls, WatchGuard firewalls and Huawei firewall logs to monitor inbound and outbound traffic and protect the network from firewall-based network attacks.

7. The one-click batch collection server log system for production lines according to claim 1 is characterized by: The compliance management platform includes a log level module, a log processing module and a compliance report module. The log level module divides logs into: basic notification information, ordinary information, but with a certain importance, warning information, but it will not affect the operation of the service or system, error information, information reaching the err level has affected the operation of the server system, critical condition information, which is more severe than the err level, status information, which is more serious than the crit level and requires immediate action, pain level information, the system is no longer usable, the log processing module dumps the logs after gzip compression, does not compress, is used for log files that are still open, backs up and truncates the current log, backs up the log file but does not truncate it, dumps the file, uses the specified permissions, owner, and group to create a new log file, does not create a new log file, and co When used together with mpress, the dumped log file will not be compressed until the next dump, overwriting the delaycompress option, and the dump will be compressed at the same time. The error information during storage is sent to the specified Email address. Even empty files are dumped, which is the default option. If it is an empty file, it will not be dumped. The dumped log file will be sent to the specified Email address. The log file will not be sent during dumping. The dumped log file is placed in the specified directory and must be in the same file system as the current log file. The dumped log file and the current log file are placed in the same directory. The commands that need to be executed before dumping, these two keywords must be in separate lines. The commands that need to be executed after dumping, these two keywords must be in separate lines. The dumping period is specified to be every day. The compliance report module creates a custom compliance report that meets the requirements.

8. A method for using a production line one-click batch collection server log system according to any one of claims 1-7, characterized in that: The following steps are involved: Step 1: Data collection: The basic framework platform collects all server IPs, user names, and passwords and writes them into the Config file required by the program. The default user names and passwords are unified and only the IP addresses need to be collected. Step 2: Log sorting: The log management platform creates a function through Python to implement ssh login, generate server logs, and then download the generated files to the local computer through sftp and rename and sort them; Step 3, log display: After the tool is protected by the security analysis platform, threat analysis platform and network equipment audit platform, all user information read from the config file is brought into the created functions mentioned above in the main function, and all server logs are collected, downloaded and renamed simultaneously through multi-threading.

Citation Information

Patent Citations

  • Distributed server intelligent monitoring analysis and fault processing system and method

    CN113872795A

  • Server firmware upgrading method, storage device and terminal

    CN114115984A

  • Method and system for network fault management

    US20110078163A1