/obstudio:splunk-dashboardfrom Splunk Observability Studio
Generates Splunk Observability Cloud dashboard Terraform from an otel-audit report. Reads .observe/otel-audit.json, groups metrics into RED-style panels, and outputs HCL resources plus a preview model for local rendering.
Ships in Splunk Observability Studio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read an existing .observe/otel-audit.json audit report, group detected metrics
into dashboard panels (RED-style layout), and generate Terraform for Splunk
Observability Cloud signalfx_dashboard_group, signalfx_dashboard, and
per-panel signalfx_*_chart resources with inline SignalFlow program_text.
Also emit a sidecar .observe/dashboards.preview.json that the local Splunk Observability Studio's
Dashboards tab renders against live OTLP data as an approximate preview.
This is the visualization analogue of $splunk-configure (which generates
detectors). It shares its parsing rules and SignalFlow fragments; it differs in
that a dashboard is a three-level object — group → dashboard → charts[] — where
each chart is a separate resource placed on a 12-column grid.
$otel-audit to generate .observe/otel-audit.jsonWhen NOT to use: If no audit report exists yet, instruct the user to run
$otel-audit first. For alerting/detection Terraform, use $splunk-configure.
To push the generated dashboards to a live org, use $splunk-dashboard-publish.
Look for .observe/otel-audit.json in the repository root.
No audit report found at
.observe/otel-audit.json. Please run$otel-auditfirst to generate the observability coverage report.
Extract from .observe/otel-audit.json, using the same parsing rules
$splunk-configure documents:
current_instrumentation.metrics. Each metric
provides its name, source/evidence, and auto/custom ownership when known.
Record only source-backed existing metrics for grouping in Step 3. Findings
and expected_telemetry describe desired instrumentation and become
prerequisites, not dashboard panels.If current_instrumentation.metrics is empty and there are no explicitly
proven downstream metrics, stop and respond:
The audit report contains no metrics. Dashboards require metric data. Run
$otel-instrumentto add instrumentation, then re-run$otel-audit.
Load references/dashboard-classification.md and apply its grouping rules to
each metric from Step 2. Each metric maps to a panel with a chart type and a grid
placement:
single_value panels — one per RED
signal that exists (p99 latency, error rate, throughput) plus key saturation
gauges — giving an at-a-glance service summary.time_series percentile panel.checkout.payment.errors, http.server.errors.total — keyed on counter-ness,
not a required .total/.count suffix) → a time_series error-rate panel.checkout.orders.processed,
http.server.requests.total — same counter test, no error keyword) → a
time_series rate panel.single_value
panel (and optionally a time_series trend panel).signalfx_dashboard inside a
GenAI dashboard group, with latency/token/provider/tool panels.Skip metrics that match the exclusion rules (auto-instrumented library duplicates, informational-only gauges). Record skipped metrics with a reason for the report.
Create the output directory .observe/terraform/ if it does not exist. Generate
three files using references/dashboard-templates.md plus the shared
../references/signalflow-patterns.md for chart program_text:
.observe/terraform/dashboards.tfsignalfx_dashboard_group (plus a second GenAI group when GenAI metrics
exist).signalfx_dashboard referencing the group.signalfx_<type>_chart per panel (signalfx_time_chart,
signalfx_single_value_chart, etc.), with SignalFlow program_text built from
the shared signalflow-patterns.md fragment (no detect()/when()/threshold()
tail — charts only visualize).chart { chart_id = ...; column; row; width; height } block on the 12-wide grid: column 0-11, width 1-12,
row ≥0, height ≥1.Sanitize metric names for HCL identifiers: replace dots and hyphens with underscores, strip leading digits.
.observe/terraform/variables.tfREQUIRED:
sensitive = trueonapi_token— no exceptions. Theapi_tokenvariable MUST includesensitive = true. Omitting it is a hard failure: Terraform will log the value in plaintext. Copy the block below exactly; do not removesensitive = true.
variable "realm" {
description = "Splunk Observability Cloud realm (e.g. us1, eu0)"
type = string
}
variable "api_token" {
description = "Splunk Observability Cloud API token"
type = string
sensitive = true # REQUIRED — must always be present
}
variable "service_name" {
description = "Service name for dashboard naming and chart filters"
type = string
default = "<service-name from report>"
}
api_token is always sensitive = true — it is a secret and must never be
logged, written into a report, or committed with a real value.
.observe/terraform/terraform.tfvars.examplerealm = "" # e.g. us1, eu0, lab0
api_token = "" # Splunk O11y API token (org-level, dashboard write)
service_name = "<service-name from report>"
Write .observe/dashboards.preview.json for the local Splunk Observability Studio Dashboards tab.
Because this skill already resolves ${var.*} and dedents the <<-EOF heredocs
while writing HCL (per ../references/terraform-normalization.md), write the
fully-resolved programText here — Splunk Observability Studio does no HCL parsing.
{
"schemaVersion": 1,
"generatedAt": "<RFC3339 timestamp>",
"groups": [
{
"name": "<service-name> Overview",
"description": "RED + saturation dashboard for <service-name>",
"dashboards": [
{
"name": "<service-name> RED",
"description": "Rate, errors, duration",
"charts": [
{
"label": "p99_latency",
"title": "P99 Latency",
"chartType": "time_series",
"programText": "data('http.server.request.duration', filter=filter('service.name','<service>')).percentile(pct=99).publish(label='P99 Latency')",
"text": null,
"layout": { "column": 0, "row": 0, "width": 6, "height": 3 }
}
]
}
]
}
]
}
chartType ∈ time_series | single_value | list | heatmap | text | table.programText carries the resolved SignalFlow (no ${var.*}, dedented). For a
text panel, set programText: null and put the markdown in text.layout mirrors the HCL chart {} block exactly: column 0-11, row ≥0,
width 1-12, height ≥1. The grid is 12 columns wide.Keep the preview sidecar in lockstep with dashboards.tf: every chart in the HCL
appears exactly once in the sidecar with the same label, type, resolved query,
and grid placement.
Create .observe/dashboards.md as a human-readable companion:
# Dashboards Report: <service-name>
**Language:** <lang> | **Framework:** <framework> | **Date:** <YYYY-MM-DD>
**Source:** `.observe/otel-audit.json` | **Output:** `.observe/terraform/`
## Summary
| Dashboard | Group | Panels | Chart Types |
|-----------|-------|--------|-------------|
| <service> RED | <service> Overview | N | single_value, time_series |
## Panels
| # | Panel | Metric | Chart Type | Grid (col,row,w,h) | Rationale |
|---|-------|--------|------------|--------------------|-----------|
| 1 | P99 Latency | http.server.request.duration | time_series | 0,0,6,3 | latency histogram → percentile time series |
## Grid Map
<ASCII or table sketch of the 12-column placement per dashboard>
## Skipped Metrics
| Metric | Reason |
|--------|--------|
## GenAI Instrumentation Prerequisites
<when canonical genai_readiness, GenAI findings, or bound proof shows a required signal is missing>
## Next Steps
1. `cp .observe/terraform/terraform.tfvars.example .observe/terraform/terraform.tfvars`
2. Fill in `realm` and `api_token`
3. Preview locally: open Splunk Observability Studio **Dashboards** tab (localhost:17900)
4. Push to Splunk: `$splunk-dashboard-publish` (REST-direct, creates only gaps)
or `cd .observe/terraform && terraform init && terraform apply`
---
*Generated by splunk-dashboard on <YYYY-MM-DD>*
After all files are written, present a concise summary: the dashboards/panels
generated, the files written (dashboards.tf, variables.tf,
terraform.tfvars.example, .observe/dashboards.md,
.observe/dashboards.preview.json), and the next steps — preview in Splunk Observability Studio
Dashboards tab, then $splunk-dashboard-publish or terraform apply.
This skill never runs terraform and has no bundled validator script (unlike
$splunk-configure). Do not report "Validation passed," "verified," or any
similar status for the generated Terraform or .observe/dashboards.preview.json
in the chat summary, even when an internal sanity check (for example a JSON
parse or a grep for unresolved variables) happened to succeed while authoring
the files. State only what was generated and direct the user to run
terraform validate/terraform plan or $splunk-dashboard-publish next.
api_token variable in variables.tf is missing sensitive = true — this is a hard requirement; the token is a secret and must never be logged or committed as plaintext.programText still contains a literal ${var.*} — the
preview sidecar and any future POST will fail; resolve every variable per
../references/terraform-normalization.md before writing.column + width > 12)
— clamp or re-place it; Splunk Observability Studio preview clamps defensively but the HCL
should be correct.What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/connect-splunk-observability-cloudOpen the already-running local Splunk Observability Studio Cloud tab so a user can connect an existing or newly ready Splunk Observability Cloud organization by entering its URL and access token outside agent context. Use when a user asks to connect, configure, or provide credentials for Splunk Observability Cloud, Splunk O11y, or SignalFx outside the Splunk Observability Studio IDE extension. Do not use this skill to create a Free Edition account./create-splunk-free-accountSubmit a consent-gated Splunk Observability Cloud Free Edition signup intake in a detected or user-selected supported signup region through Splunk Observability Studio's browserless MCP backend. Use when a user asks to create, provision, register, start, or sign up for a free Splunk Observability Cloud, Splunk O11y, or SignalFx account or organization, or explicitly asks to submit another intake with the same details or email, including requests to avoid the Splunk web form./observer-openOpen the local Splunk Observability Studio at http://127.0.0.1:17900/ using a host-provided browser when available, with a safe clickable-URL fallback.Generated from the plugin's indexed repository (signalfx/obstudio) — no native marketplace selected
npx claudepluginhub p/signalfx-obstudio-plugins-obstudioOther plugins' skills for the same job