Lo

LogsQL – opinionated query language for logs

Hacker News

LogsQL – opinionated query language for logs

I don't like the existing query languages for Elasticsearch and Grafana Loki, because they are too awkward to use for typical logs' investigation cases. So I designed new query language - LogsQL - and wrote reference implementation for it as a part of VictoriaLogs - an open source database for logs. LogsQL is based on the following principles: - Simplicity. It is easy to write typical queries over logs in it. For example, a single word `error` is a valid LogsQL query, which returns all the logs with the `error` word. Another example is `_time:5m error`, which returns all the logs with the 'error' word over the last 5 minutes. - Composable building blocks similar to Unix pipes, which allow powerful filtering, transforming and calculating stats over the selected logs. For example, `_time:5m error | stats count() as rows` returns the number of logs with the `error` word over the last 5 minutes. - Readability. Typical LogsQL queries must be easy to read and understand even for persons unfamiliar with it. Take a look at LogsQL docs [1] and try using VictoriaLogs [2] in production. If you like Unix way and KISS design principle, then you'll enjoy LogsQL :) [1] https://docs.victoriametrics.com/victorialogs/logsql/ [2] https://docs.victoriametrics.com/victorialogs/

Share card

Actual performance

61points
29comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: exist, open source, existing · Missing: https docs, excited, just released
72%72% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntOn track for Day 1 leaderboard · Strong signals: new, single, using · Missing: mac, agents, macos
70%70% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRFits verified-revenue profile · Strong signals: way · Missing: mobile apps, ios, personal
55%55% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
51%51% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ra
Rainbow Query Language53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rainbow Query Language

Hacker News1
Du
Dumb Query Language for Go66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dumb Query Language for Go

Hacker News1
Ki
Kibana-agent – query Kibana logs from CLI23%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kibana-agent – query Kibana logs from CLI

Hacker News3
GE
GETlang – A Query Language for the Web68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GETlang – A Query Language for the Web

Hacker News7
Sy
Systematic Query Language for Quant Research with AI38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Systematic Query Language for Quant Research with AI

Hacker News1
Co
Couldn't find good tool to analyze MySQL Slow Query Logs so I made one31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Couldn't find good tool to analyze MySQL Slow Query Logs so I made one

Hacker News3
Go
GoooQo Is a Dynamic Query Language Implemented in Golang for CRUD56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GoooQo Is a Dynamic Query Language Implemented in Golang for CRUD

Hacker News2
Mo
Monglorious – Query MongoDB with Strings33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Monglorious – Query MongoDB with Strings

Hacker News2
Qu
Query the national alcoholic beverage retailing monopoly of Finland43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Query the national alcoholic beverage retailing monopoly of Finland

Hacker News2
VelocityPack QueryBoost
VelocityPack QueryBoost38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MySQL / MariaDB Query Caching and Acceleration for cPanel

Indie Hackersemployees-10-plus