LogsQL – opinionated query language for logs

LogsQL is a powerful query language for VictoriaLogs, offering full-text search with word, phrase, and prefix filters. It allows complex logical filters, structured field extraction, and statistical calculations. Users can filter logs based on specific timeframes, words, and fields, with options to exclude certain logs using the NOT operator. The use of explicit parentheses can clarify queries and improve readability. Additionally, LogsQL supports various filters for precise log message selection, including time, stream, word, phrase, prefix, and logical filters. Optimization tips are provided to enhance query performance. By utilizing these features, users can efficiently analyze and extract relevant information from log data.


To top