splunk-assistant
# splunk-assistant
What this skill does
# splunk-assistant Central hub and router for Splunk Assistant Skills. Routes requests to 17 CLI command groups using 3-level progressive disclosure. ## Purpose Routes natural language requests to specialized Splunk skills based on intent. Provides connection verification, authentication validation, and execution strategy recommendations. ## Risk Levels | Operation | Risk | Notes | |-----------|------|-------| | Get server info | - | Read-only | | Verify connection | - | Read-only | | Route to skill | - | Navigation only | ## Triggers - Any Splunk-related request - "splunk", "search", "query", "SPL" - Connection/authentication issues - General Splunk questions ## Progressive Disclosure ### Level 1: Essential Connection & Identification - Verify Search Head connection on management port 8089 via HTTPS - Validate JWT Bearer token or Basic Auth credentials - Detect deployment type (Cloud vs on-prem) - Route to appropriate specialized skill ### Level 2: Execution Mode Strategy | Mode | Use Case | Characteristics | |------|----------|-----------------| | Oneshot | Ad-hoc queries | Results inline, no SID, minimal disk I/O | | Normal | Long searches | Returns SID, poll for results, progress tracking | | Blocking | Simple queries | Waits for completion, synchronous | | Export | Large extracts | Streaming, checkpoint support, ETL | ### Level 3: Advanced Optimization & Resource Governance - **Time Modifiers**: Always enforce `earliest_time` and `latest_time` - **Field Reduction**: Insert `fields` command to limit data transfer - **Resource Cleanup**: Issue `/control/cancel` after results consumed - **Error Handling**: Use `strict=true` for clear errors vs incomplete data ## CLI Command Groups | CLI Command | Skill | Description | |-------------|-------|-------------| | `search` | `splunk-search` | Execute SPL query | | `job` | `splunk-job` | Job lifecycle management | | `export` | `splunk-export` | Large data export | | `metadata` | `splunk-metadata` | Index/source discovery | | `lookup` | `splunk-lookup` | Lookup management | | `tag` | `splunk-tag` | Tag operations | | `savedsearch` | `splunk-savedsearch` | Saved searches/reports | | `alert` | `splunk-alert` | Alert management | | `admin` | `splunk-rest-admin` | REST/Server administration | | `security` | `splunk-security` | Token/RBAC/ACL | | `metrics` | `splunk-metrics` | Metrics (mstats) | | `app` | `splunk-app` | App management | | `kvstore` | `splunk-kvstore` | KV Store | | `dashboard` | - | Dashboard management | | `input` | - | Data input management | | `user` | - | User management | | `config` | - | Configuration management | | `completion` | - | Shell completion (utility) | ## Connection Verification ```bash # Get server information (verify connection) splunk-as admin info # Get server status splunk-as admin status # Get server health status splunk-as admin health ``` ## Examples ### Verify Connection ```bash splunk-as admin info # Output: # ✓ Connected to splunk.example.com:8089 # ✓ Authentication: Bearer token valid # ✓ Deployment: Splunk Enterprise 9.1.0 # ✓ User: admin (capabilities: search, admin_all_objects) ``` ### Get Server Info ```bash splunk-as admin info --output json # Output: Server version, build, OS, cluster status, etc. ``` ### Common CLI Commands ```bash # Search commands splunk-as search oneshot "index=main | head 10" splunk-as search normal "index=main | stats count" --wait # Job management splunk-as job list splunk-as job status 1703779200.12345 # Metadata discovery splunk-as metadata indexes splunk-as metadata sourcetypes --index main # Security splunk-as security whoami ``` ## Best Practices 1. **Always include time bounds** - Prevent full index scans 2. **Use field extraction** - Limit data transfer 3. **Choose appropriate mode** - Oneshot for ad-hoc, Export for ETL 4. **Clean up resources** - Cancel jobs when done 5. **Handle errors gracefully** - Use the error hierarchy ## Related Skills - [splunk-job](../splunk-job/SKILL.md) - Job lifecycle - [splunk-search](../splunk-search/SKILL.md) - Query execution - [splunk-security](../splunk-security/SKILL.md) - Authentication
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.