coralogix-case-analytics

Installation
SKILL.md

Case Analytics Skill — Fleet-level DataPrime queries over cases

Pair with the coralogix-dataprime skill

This skill covers two things and only two things: (1) the schema of system/labs.cases.state_updates, and (2) the case-counting conventions (1h minimum window, dedupe per caseId). Use the schema in this skill to know what fields exist and what they mean, and use coralogix-dataprime to know how to shape the query around them.

Dataset: system/labs.cases.state_updates

See the dataset schema and field reference before writing a query.

Hard rules (ALWAYS apply)

These three rules are non-negotiable for every query you write against system/labs.cases.state_updates. They exist because the dataset emits a heartbeat for active cases, so the same caseId appears many times within any window. Counting raw events double-counts cases.

Rule 1 — Always provide a time range, minimum 1 hour

Every query MUST be executed with an explicit time range via start_date and end_date on query_dataprime (or resolved with get_datetime). Never query the dataset without a time range. There is no "ever" / "all of time" semantics here: the dataset has a TTL, the scan is unbounded if you omit the window, and the result will silently reflect whatever the engine happened to load — misleading at best, wrong at worst.

Installs
4
GitHub Stars
149
First Seen
Nov 6, 2026