Blockchain-based Secure Log Management with LLM-assisted Querying System

Authors

  • Satit Kravenkit -

DOI:

https://doi.org/10.37936/ecti-eec.2026243.262937

Keywords:

Event Log, Decentralized Storage, Blockchain Technology, InterPlanetary File System (IPFS), Large Language Model (LLM)

Abstract

This research presents a blockchain-based log management system that integrates an LLM-assisted query mechanism to enhance security and provide contextual insights into storage event logs. The modules for decentralized storage event logs, including registered users, log retrieval and storage, and log auditing, are built on a blockchain deployed via an Ethereum smart contract, which enhances the following. EdDSA-based digital signatures (Ed25519) are applied to audit log events to ensure integrity. Additionally, log files are encrypted using asymmetric encryption (Curve25519) to protect confidentiality, while the decentralized IPFS (InterPlanetary File System) stores log file metadata on the blockchain, reducing storage size. In the querying module, an LLM-based natural-language model is integrated. Moreover, we organize the logs into semantic groups and hourly summary tables for LLM-assisted analysis. Users can analyze log data without complex query rules. The experiment covers four evaluations: First, functional correctness. The storage event log modules correctly support secure log management and verify log audit. Second, IPFS delivers practical performance with average upload times (0.41 s) and download times (0.19 s). Third, blockchain operations require reasonable gas usage. Fourth, the Llama 3.1 (8B) achieves the best querying performance, with Correctness (0.80), Faithfulness (0.53), and Helpfulness (0.62) supporting practical log analysis.

Downloads

Download data is not yet available.

References

D. Granata, M. Mastroianni, M. Rak, P. Cantiello and

G. Salzillo, “GDPR compliance through standard

security controls: An automated approach,” Journal of

High Speed Networks, vol. 30, no. 2, pp. 147–174,

doi:10.3233/JHS-230080.

J. L. Salas-Riega, Y. Riega-Virú, M. Ninaquispe-Soto

and J. M. Salas-Riega, “Cybersecurity and the NIST

Framework: A Systematic Review of its

Implementation and Effectiveness Against Cyber

Threats,” International Journal of Advanced Computer

Science and Applications, vol. 16, no. 6, 2025.

doi:10.14569/IJACSA.2025.0160672.

M. Podrecca, G. Culot, G. Nassimbeni and M. Sartor,

“Information security and value creation: The

performance implications of ISO/IEC 27001,”

Computers in Industry, vol. 142, 2022, p. 103744.

doi:10.1016/j.compind.2022.103744.

A. Horváth et al., “Anomaly Detection Algorithms for

Real-Time Log Data Analysis at Scale,” IEEE Access,

vol. 13, pp. 136288–136311, 2025.

doi:10.1109/ACCESS.2025.3594469.

A. I. Swapna, Z. Rahman, M. H. Rahman and M.

Akramuzzaman, “Performance evaluation of fuzzy

integrated firewall model for hybrid cloud based on

packet utilization,” in Proc. IEEE ICCCI, Wuhan,

China, 2016, pp. 253–256.

doi:10.1109/CCI.2016.7778919.

C.-S. Chao, “Firewall Rule Optimization Mechanism

for IPv6-Based IoT Networks,” in Proc. IEEE ICEIB,

Taipei, Taiwan, 2024, pp. 99–104.

doi:10.1109/ICEIB61477.2024.10602708.

W. Li, Y. Feng, N. Liu, Y. Li, X. Fu and Y. Yu, “A

secure and efficient log storage and query framework

based on blockchain,” Computer Networks, vol. 252, p.

, 2024. doi:10.1016/j.comnet.2024.110683.

M. H. Rakib, S. Hossain, M. Jahan and U. Kabir, “A

Blockchain-Enabled Scalable Network Log

Management System,” Journal of Computer Science,

vol. 18, no. 6, pp. 496–508, 2022.

doi:10.3844/jcssp.2022.496.508.

S. R. Mallick, R. K. Lenka, and S. Sobhanayak,

“Secure and scalable dual blockchain and IPFS-driven

IoT ecosystem for next-generation healthcare

systems,” Scientific Reports, vol. 15, Art. no. 41064,

, doi: 10.1038/s41598-025-25006-3.

M. Alsabaan, J. P. Bharadiya, V. Eswarakrishnan, A.

M. Cheema, Z. B. Faheem and J. Ali, “Decentralized

Authentication and Secure Distributed File Storage for

Healthcare Systems Using Blockchain and IPFS,”

Computers, Materials and Continua, vol. 85, no. 1, pp.

–1160, 2025. doi:10.32604/cmc.2025.066969.

P. Kumar, M. Gupta and R. Kumar, “Improved Cloud

Storage System Using IPFS for Decentralised Data

Storage,” in Proc. ICDSNS, Tiptur, India, 2023, pp. 1–

doi:10.1109/ICDSNS58469.2023.10245317.

S. Deaton, D. Brownfield, L. Kosta, Z. Zhu and S. J.

Matthews, “Real-time regex matching with Apache

Spark,” in Proc. IEEE HPEC, Waltham, MA, USA,

, pp. 1–6. doi:10.1109/HPEC.2017.8091063.

P. Jain and A. Mahalkari, “Decentralize Log File

Storage and Integrity Preservation using Blockchain,”

in Proc. Conf., 2020.

M. S. Islam and M. S. Rahman, “LogStamping: A

blockchain-based log auditing approach for large-scale

systems,” arXiv preprint, arXiv:2505.17236, 2025.

doi:10.48550/arXiv.2505.17236.

A. Shahzad, W. Chen, Y. Zhang and R. Kumar, “ZeroTrust Medical Image Sharing: A Secure and

Decentralized Approach Using Blockchain and the

IPFS,” Symmetry, vol. 17, no. 4, p. 551, 2025.

doi:10.3390/sym17040551.

W. Guan, J. Cao, S. Qian, J. Gao and C. Ouyang,

“LogLLM: Log-based Anomaly Detection Using Large

Language Models,” arXiv preprint, arXiv:2411.08561,

doi:10.48550/arXiv.2411.08561.

S. Hansakul and N. Wisitpongphan, “Enhancing

Business-Specific Phishing Chat Detection via FewShot Learning LLM Augmentation,” IEEE Access, vol.

, pp. 183589–183597, 2025.

doi:10.1109/ACCESS.2025.3623898.

P. S. Rani and S. B. Priya, “Security-Aware and

Privacy-Preserving Blockchain Chameleon Hash

Functions for Education System,” ECTI-CIT

Transactions, vol. 17, no. 2, pp. 225–234, Jun. 2023.

C. Angsuchotmetee and P. Setthawong,

“BlockVOTE: An Architecture of a Blockchain-based

Electronic Voting System,” ECTI-CIT Transactions,

vol. 14, no. 2, pp. 174–189, Apr. 2020.

M. S. Rahman et al., “A blockchain-based framework

for drug security: Leveraging EdDSA to prevent

counterfeiting,” Array, vol. 28, p. 100604, 2025.

doi:10.1016/j.array.2025.100604.

L. Zheng et al., “Judging LLM-as-a-Judge with MTBench and Chatbot Arena,” arXiv preprint,

arXiv:2306.05685, 2023.

doi:10.48550/arXiv.2306.05685.

Etherscan, “Ethereum Gas Tracker,” 2025. [Online].

Available: https://etherscan.io/gastracker. [Accessed:

Dec. 20, 2025].

CoinMarketCap, “Ethereum (ETH) price,” 2025.

[Online]. Available:

https://coinmarketcap.com/currencies/ethereum/.

[Accessed: Dec. 20, 2025]

Downloads

Published

2026-09-29

How to Cite

Kravenkit, S. (2026). Blockchain-based Secure Log Management with LLM-assisted Querying System. ECTI Transactions on Electrical Engineering, Electronics, and Communications, 24(3). https://doi.org/10.37936/ecti-eec.2026243.262937