Pith. sign in

REVIEW 2 cited by

Chatting with Logs: An exploratory study on Finetuning LLMs for LogQL

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2412.03612 v1 pith:LQMTR2Z5 submitted 2024-12-04 cs.DB cs.AIcs.PL

classification cs.DBcs.AIcs.PL
keywords queriesquerylanguagellmslogqlformatsmodelsacross
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Logging is a critical function in modern distributed applications, but the lack of standardization in log query languages and formats creates significant challenges. Developers currently must write ad hoc queries in platform-specific languages, requiring expertise in both the query language and application-specific log details -- an impractical expectation given the variety of platforms and volume of logs and applications. While generating these queries with large language models (LLMs) seems intuitive, we show that current LLMs struggle with log-specific query generation due to the lack of exposure to domain-specific knowledge. We propose a novel natural language (NL) interface to address these inconsistencies and aide log query generation, enabling developers to create queries in a target log query language by providing NL inputs. We further introduce ~\textbf{NL2QL}, a manually annotated, real-world dataset of natural language questions paired with corresponding LogQL queries spread across three log formats, to promote the training and evaluation of NL-to-loq query systems. Using NL2QL, we subsequently fine-tune and evaluate several state of the art LLMs, and demonstrate their improved capability to generate accurate LogQL queries. We perform further ablation studies to demonstrate the effect of additional training data, and the transferability across different log formats. In our experiments, we find up to 75\% improvement of finetuned models to generate LogQL queries compared to non finetuned models.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. LogNLQ: Natural-Language Log Querying with Parser-Induced and Semantically Grounded Schemas

    cs.SE 2026-07 conditional novelty 6.0 of 10

    Parser-induced, semantically grounded schemas let LLMs generate executable SQL over raw logs, beating text-QA, LogQL, and schema-free Text-to-SQL baselines on an 8,895-query execution-verified benchmark.

  2. Intent-based System Design and Operation

    cs.DC 2025-02 conditional novelty 5.0 of 10

    The paper proposes 'intent' as a new abstraction that would let cloud systems translate high-level functional and operational requirements into automatically designed, operated, and self-improving systems.

Pith tools