Journals of Accelerator Conferences Website (JACoW)
JACoW
is a publisher in Geneva, Switzerland that publishes the
proceedings of accelerator conferences held around the world
by an international collaboration of editors.
| URL | https://doi.org/10.18429/JACoW-ICALEPCS2025-WEMR011 |
|---|---|
| Title | Leveraging local LLM for enhanced log analysis: integrating Ollama into electronic logging systems |
| Authors |
|
| Abstract | Modern systems for electronic log keeping and trouble log management generate vast datasets of issues, events, solutions, and discussions. However, extracting actionable insights from this information remains a challenge without advanced analysis tools. This paper introduces an enhancement to two log programs—Electronic Log Keeping (elog) and Trouble Logging (TroubleLog) - used in the RHIC control system at Brookhaven National Laboratory. The enhancement integrates Ollama, an open-source, locally deployed large language model (LLM), to facilitate intelligent log analysis. We present a framework that combines MySQL database queries with Retrieval-Augmented Generation (RAG), enabling users to generate period-based summaries (e.g., daily, weekly) and retrieve topic-specific information- such as issues and solutions - through natural language queries. By indexing log data using vector embeddings and interfacing with Ollama’s API, the system provides accurate, conversational responses while ensuring data privacy by avoiding external data sharing. The paper details implementation aspects, including SQL query optimization and prompt engineering, and evaluates performance using real-world log data sets. Results demonstrate improved usability and significant reductions in manual analysis time. This work the potential of local LLMs in domain-specific log management, offering a scalable and privacy-preserving solution for accelerator control systems. |
| Paper | download: WEMR011.pdf |
| Cite | BibTeX, LaTeX, Text/Word, RIS, EndNote |
| Conference | 20th Int. Conf. Accel. Large Exp. Phys. Control Syst. (ICALEPCS'25) |
| Series | |
| Location | Chicago, IL, USA |
| Date | 20-26 Sep 2025 |
| Publisher | JACoW Publishing, Geneva, Switzerland |
| Editorial Board | Kent Wootton (ANL), Jeffery Biss (FNAL), Gustavo Bruno (ANL), Jeff Kirchman (ANL), Kelly Jaje (ANL), Denise Skiadopoulos (ANL), SuYin Grass Wang (ANL) |
| Online ISBN | 978-3-95450-255-4 |
| Online ISSN | 2226-0358 |
| Received | 04 September 2025 |
| Revised | 24 September 2025 |
| Accepted | 29 October 2025 |
| Issued | 25 November 2025 |
| DOI | 10.18429/JACoW-ICALEPCS2025-WEMR011 |
| Pages | 1012-1016 |
| Copyright | Published by JACoW Publishing under the terms of the Creative Commons Attribution 4.0 license. Any further distribution of this work must maintain attribution to the author(s), the published article's title, publisher, and DOI. |