LogScale Queries
Collector 1.11.5 · Release notes

LogScale Query Exchange

Share, discover, and version LogScale queries, parsers, dashboards, and how-tos with the community.

150 queries1 parsers4 dashboards7 how-tos1 contributors

Latest queries

Recently shared by the community.

View all →
query.txt
// use @ingesttimestamp for weekday and hour
| formatTime(format="%A", field="@ingesttimestamp", as="weekday")
| formatTime(format="%k", field="@ingesttimestamp", as="hour")
// set notification day

Use the event ingestion timestamp to limit query results to a defined notification window. Configure the allowed weekdays and hours to ensure alerts run only during the intended period, such as business hours. To alert outside that window instead, invert the in() and test() conditions.

LogScaleDetection & MonitoringDetectionInvestigation

@sebastian · 20.8.2026

query.txt
in(field="#windows.EventID", values=[4732,4728,4756,4729,4733,4757])
| day := formatTime(format="%Y-%m-%d", field=@timestamp, timezone="Europe/Berlin")
| rename(field="windows.EventData.TargetUserName", as="group")
| groupBy([day, group], function=count())

Aggregate Active Directory group membership additions and removals into a daily count by group for compliance reporting and anomaly baselining. Keep the timezone aligned with your investigation queries. Source: the blog article “5 LogScale queries to audit Active Directory group changes” — https://it-selig.de/blog/logscale-queries-ad-group-changes

LogScaleComplianceActiveDirectoryComplianceMonitoring+1

@sebastian · 2.8.2026

Latest parsers

Recently shared ingest parsers.

View all →
parser.yaml
name: unifi
description: >-
  universal envelope for UniFi Syslog events. Maps Facility/Severity
  from the Syslog PRI (using in(priority, values=[...]), not arithmetic functions:

Parses UniFi Syslog from Dream Machine, access points, and switches into structured fields for Wi-Fi, DHCP, DNS, gateway, and audit analysis. Set up the export first: [[howto:Forward UniFi Syslog to a Remote Server]]. Dashboards using this parser: [[dashboard:UniFi Basics]], [[dashboard:UniFi Security & Audit]], [[dashboard:UniFi Wi-Fi Quality]], and [[dashboard:UniFi Gateway Health]].

AuthenticationFirewallLinux

@sebastian · 10.8.2026

Latest dashboards

Recently shared dashboard definitions.

View all →

Latest how-tos

Recently shared guides and walkthroughs.

View all →