Splunk App providing Dashboard Studio v2 dashboards for AI coding tool observability. Companion to VisiCore_TA_AI_Observability.
Filesystem -> Cribl Edge -> Cribl Stream -> Splunk HEC -> Splunk Enterprise
(JSON) (packs) (routing) (port 8088) (index=claude)
- AI Overview (landing page) - Cross-provider single pane: Claude KPIs, Gemini/Copilot feed status, activity by provider. Providers without data show explicit "No data" status rows instead of empty panels.
- Claude Code Overview - KPIs, token trends, cost, cache, model distribution, tool usage, top sessions
- Token Usage - Token mix across input, output, cache read, cache creation; per-model and per-session
- Cost Analysis - Lookup-driven spend by model, session, and project, with an Unpriced Messages KPI that surfaces models missing from the TA's pricing lookup
- Tool Activity - Tool call patterns and file operations
- Sessions - Session-level analysis with duration, project attribution, and drill-down filtering
- AI Session Time Accounting - Where every second of a session went (TOOL_EXEC, SUBAGENT_WAIT,
MODEL_ACTIVE, HUMAN_IDLE, SYSTEM_OVERHEAD); drill into one session by ID or leave it as
*for a fleet-wide rollup - Cache Performance - Prompt caching efficiency and model-aware estimated savings
- Transforming base searches +
ds.chain: every base data source ends in a transforming command (timechart/stats); derived panels areds.chaindata sources that extend the base. Chains never set their ownqueryParametersand stay within Splunk's documented limits (max 10 chains per base, one level). - Shared
defaultsblock supplies the global time range to all base searches; filter tokens are consumed only in base searches. - All metric SPL routes through TA macros (
claude_metric_events,extract_tools, ...). Zero inline pricing or token math — pricing lives only in the TA'sai_model_pricing.csvlookup. CI enforces this viascripts/validate_dashboards.py. - Packaging format: Dashboard Studio definitions ship as JSON inside
<dashboard version="2">XML CDATA underdefault/data/ui/views/. Standalone.jsonfiles are not loadable by Splunk app packaging — the XML wrapper with embedded JSON is the canonical on-disk format. - Cross-dashboard drilldowns via
drilldown.linkToDashboard(e.g. session tables link into Sessions with the session pre-filtered).
Requires the companion TA (>= 0.2.0) installed first:
splunk install app VisiCore_TA_AI_Observability-*.tar.gz
splunk install app VisiCore_App_for_AI_Observability-*.tar.gz
splunk restartEnsure indexes exist: claude, gemini (plus vscode/openai for Copilot/OpenAI feeds).
Configure data inputs via the cc-edge Cribl packs. Index locations are configurable by overriding the TA's
claude_index / gemini_index / copilot_index / openai_index macros in local/.
Navigate to the VisiCore app in Splunk Web. AI Overview is the landing page:
- AI Overview - Cross-provider status; start here to see which feeds are live
- Claude Code Overview - Summary of all Claude Code activity, with drilldowns into every detail page
- Token Usage - Drill into token consumption patterns (filter by model)
- Cost Analysis - Track spend by model, session, and project; watch the Unpriced Messages KPI
- Tool Activity - Monitor tool call patterns and file operations
- Sessions - Analyze individual coding sessions (filter by project or session ID)
- AI Session Time Accounting - See where a session's time went by category, or roll up the fleet
- Cache Performance - Evaluate prompt caching efficiency and savings
All dashboards share a global time range picker (default: last 7 days).
python3 scripts/validate_dashboards.py default/data/ui/views/*.xmlChecks CDATA JSON validity, data-source referential integrity, ds.chain resolution, and the
no-inline-pricing guard. CI runs this plus Splunk AppInspect on every push.
./scripts/package.shProduces a versioned tarball in build/.
- New AI Session Time Accounting dashboard: TOOL_EXEC/SUBAGENT_WAIT/MODEL_ACTIVE/HUMAN_IDLE
time accounting per session or fleet-wide, via the TA's
claude_time_accounting_by_gapmacro.
- All six Claude dashboards rebuilt to Splunk 10.x Dashboard Studio best practices: transforming base
searches with
ds.chainpost-processing (previously non-transforming bases withds.search+extend), shareddefaultsblock, null-safe KPI chains ending in| fields. - New AI Overview cross-provider landing dashboard with graceful no-data provider status.
- Inline pricing math removed everywhere; cost flows through the TA's
calculate_costlookup macro, with new Unpriced Messages visibility on Cost Analysis. - Model/project filter inputs added (Token Usage, Cost Analysis, Cache Performance, Sessions); cross-dashboard drilldowns added.
- CI added: AppInspect + dashboard structural validation.
- Requires VisiCore_TA_AI_Observability >= 0.2.0 (canonical token field names,
claude_metric_eventsmacro).
- OTel GenAI Semantic Conventions
- AI Agent Observability
- Anthropic-specific conventions
- ccusage - Token model reference
- Splunk CIM
- Chain searches (Splunk 10.x)
Part of a larger ecosystem of ~40 repos — see how it all fits together.