Back to Kibana

Security Automatic Migrations Evaluation Suite

x-pack/solutions/security/packages/kbn-evals-suite-security-automatic-migrations/README.md

9.5.02.0 KB
Original Source

Security Automatic Migrations Evaluation Suite

Evaluation suite for the Splunk-to-Kibana dashboard migration AI pipeline.

Evaluators

#NameKindWhat It Checks
E1lookup_join_presenceCODELOOKUP JOIN present when source SPL had lookups
E2esql_completenessCODEGenerated ES|QL has no unresolved placeholders
E3markdown_error_detectionCODENo error/fallback content in panels
E4translation_fidelityLLMContent grounded in source + intent preserved
E5panel_count_preservationCODEOutput panel count matches source
E6translation_completenessCODEFraction of panels with FULL/PARTIAL translation
E7index_pattern_validityCODESelected index patterns match expected

Dataset

Datasets use panel-level ground truth. Each example includes:

  • Input: Splunk dashboard export (XML) + resources (macros/lookups)
  • Expected: Per-panel ground truth (ES|QL query, index pattern, translation status)
  • Metadata: Flags for conditional evaluator logic

See datasets/dashboards/types.ts for the full schema.

Current status: Placeholder — awaiting expert-curated dashboard pairs.

Running

bash
# Prerequisites: run `node scripts/evals init` first if not already set up

# Run against a live Kibana+ES stack
node scripts/evals run --suite security-automatic-migrations

# Or start stack + run
node scripts/evals start --suite security-automatic-migrations

CI

  • On-demand: Add label evals:security-automatic-migrations to a PR
  • All security suites: Add label evals:all
  • Specific model: Add label models:eis/gpt-4.1 alongside the suite label
  • Custom judge: Add label models:judge:eis/claude-4.5-sonnet

Future Work

  • Expert-curated dataset (5+ Splunk dashboard pairs)
  • Rule migration evaluators (separate initiative, same package)
  • CI weekly scheduled runs
  • Deprecate DashboardMigrationTaskEvaluator (LangSmith-coupled placeholder)