| With the rapid development of informatization,enterprises have become more and more inseparable from various information systems.Information systems can simplify operations and improve work efficiency.However,while information systems bring convenience to the work of enterprises,there are hidden dangers involved in the operation of information systems.Nor can it be ignored.The access log of the information system contains a large amount of user operation information.The log audit system converts the log into audit information data by extracting the user operation data in the log,which can reflect the application of the information system.However,the security of audit information is also worth noting.The tampered audit information cannot truly reflect the application of the information system.Blockchain technology has the characteristics of decentralization,non-tampering and traceability,which provides the possibility to realize the protection of audit information.Its application scenarios have involved medical,power grid,agricultural product traceability and other directions.This paper explores the information system log audit scheme based on blockchain technology,and develops a prototype system,hoping to provide a more effective solution for the log security audit of the internal information system of related enterprises.This paper designs and implements a blockchain-based log auditing system by studying blockchain-related technologies.The paper studies related technologies such as blockchain,Elastic Stack and Kafka,and analyzes the requirements of the log audit system from four aspects:business process,user role,functional requirements and non-functional requirements.The architecture,function modules,and database are designed,and each function module of the log audit system is designed and implemented in detail.Finally,the application example of the system is given and the system is tested.The system adopts B/S architecture and uses the development mode of front-end and back-end separation.The front-end adopts Vue framework,the back-end adopts SSM framework,and the data storage adopts MySQL,Elasticsearch and FISCO BCOS blockchain.Using Elastic Stack technology to build a log system,complete the collection,filtering,and conversion of log information,so that log information can be converted into audit information objects,which is convenient for the use of the log audit system.Write and deploy smart contracts on the FISCO BCOS blockchain platform to upload important data such as audit information of the information system to the blockchain.After system testing,evaluation and analysis,the system can meet the expected business function requirements,and provides a safe and reliable solution for the information system log audit work. |