Get the latest tech news

Show HN: LogsQL – opinionated query language for logs


Documentation for VictoriaMetrics, VictoriaLogs, Operator, Managed VictoriaMetrics and vmanomaly

For example, the following query selects all the logs for the last 5 minutes for users, who visited pages with admin word in the path field during the last day: For example, the following query returns host field values if the number of log messages with the error word for them over the last hour exceeds 1_000: For example, the following query calculates the number of logs and unique ip addresses over the last 5 minutes, grouped by(host, path) fields:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of logs

logs

Photo of LogsQL

LogsQL

Related news:

News photo

Angle-grinder: Slice and dice logs on the command line

News photo

Xz sshd backdoor collecting usernames from logs

News photo

Microsoft fixes critical Azure CLI flaw that leaked credentials in logs