Caio Lopes8 downloadsSyntax highlighting for CrowdStrike CQL (LogScale Query Language) in code blocks.
Obsidian plugin — syntax highlighting for CrowdStrike CQL (LogScale Query Language)
Threat hunters who document their work in Obsidian — playbooks, runbooks, DFIR notes — can now get proper syntax highlighting for embedded CQL queries. No equivalent plugin exists in the Obsidian community.

```cql
#event_simpleName=ProcessRollup2
ImageFileName=/powershell\.exe/i
| groupBy([ComputerName, CommandLine], function=count())
| sort(count, order=desc)
```
Also accepts ```logscale as an alias.
Works in both reading mode and editing mode.
Install from the Obsidian Community Plugins directory, or search for Talon CQL in Settings → Community Plugins.
main.js, manifest.json, styles.css from the latest release.obsidian/plugins/talon-cql/ in your vault| Token | Example |
|---|---|
| Event fields | #event_simpleName, #aid, #cid |
| Built-in functions | groupBy, eval, timeChart, join |
| Namespaced functions | array:contains, math:abs, time:hour |
| Keywords | case, and, or, not, asc, desc |
| Operators | | := =~ != <= >= |
| Strings | "double" 'single' |
| Regex literals | /pattern/i |
| Numbers | 42, 3.14 |
| Comments | // and /* */ |
Ready-to-use hunting queries in templates/:
| File | Content |
|---|---|
process-hunting.cql |
LOLBins, encoded PowerShell, parent-child chains |
network-hunting.cql |
Beaconing, suspicious ports, geo anomalies |
identity-hunting.cql |
Brute force, off-hours logons, LSASS access |
npm install
npm run build # production → generates main.js
npm run dev # watch mode for development
MIT