Skip to content
arXiv· arXiv:2506.17512· Julien Piet, Vivian Fang, Rishi Khare, Scott Coull, Vern Paxson, Raluca Ada Popa, David Wagner·Indexed by this site · Originally published

Matryoshka: automatically generating semantics-aware parsers for security logs with an LLM

Semantic-Aware Parsing for Security Logs

AI summary

The Matryoshka system uses an LLM to automatically generate semantics-aware structured parsers for security logs, without requiring labeled samples or manual intervention. The system infers syntax and variable naming directly from log samples and normalizes them to security-specific schemas such as OCSF, generating deterministic parsers and mapping rules that can be applied at data ingestion. Experiments show that it surpasses prior work on syntax parsing and, in side-by-side comparisons and retrieval of security-related queries, reaches a level comparable to manually written parsers.

Read originalarxiv.org