Splunk db connect setup

From chambear2809/splunk-cisco-skills · View interactive version

Splunk db connect setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks to install or plan DB Connect, configure DBX Java and JDBC drivers, prepare identities, connections, inputs, outputs, lookups, SQL Explorer, dbxquery, dbxoutput, dbxlookup, DB Connect over Federated Search, or validate DB Connect topology. Render, preflight, validate, and hand

How to use this skill

Skill file

Splunk DB Connect Setup

Prerequisites

| Tool or access | Purpose | Verify |

|---|---|---|

| Bash and Python 3 | Run bundled setup and validation helpers | bash --version && python3 --version |

| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |

| Credential files for live modes | Keep secrets out of chat | Verify paths only |

Workflow Overview

┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

lookups, SQL Explorer, dbxquery, dbxoutput, dbxlookup, DB Connect over Federated Search, or validate DB Connect

topology.

Scope

Follow the documented read-only or render-first path whenever it is available.

This skill does not imply permission to mutate live systems. Require explicit

apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash skills/splunk-db-connect-setup/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed

without changing the target environment.

Inspect validation modes before running completion checks:

bash skills/splunk-db-connect-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the

skill supports them; help exits without mutation.

Troubleshooting

| Issue | Cause | Resolution |

|---|---|---|

| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |

| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |

| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |

| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |

Shared add-on completion gate

Whenever this workflow installs, configures, or hands off a registry-listed

Splunk app or add-on, follow the

shared completion gate. Package delivery

alone is not success; capture JDBC input/output data evidence and shipped-view

evidence, or explicit package evidence that no dashboards ship.

Use this skill for Splunk DB Connect (splunk_app_db_connect, Splunkbase app

2686) and the supported Splunk-published JDBC driver add-ons. The default

path is render, preflight, and validate only. Installing packages is explicit

and delegated to splunk-app-install; live DB Connect object mutation is out of

scope for v1.

Safety Rules

CyberArk/Vault secrets in chat.

files, or JDBC URLs.

do not paste or render them as identity values.

a customer-managed heavy forwarder, or a Splunk Cloud support workflow.

customer-managed heavy forwarders as Enterprise runtime hosts paired to Cloud.

archived driver handling.

fresh manual installation plan and PKCS12 keystore/truststore handling.

Primary Workflow

  1. Copy template.example to a local working spec and fill in only non-secret

values.

  1. Run a read-only preflight:
bash skills/splunk-db-connect-setup/scripts/setup.sh \
  --preflight \
  --spec my-db-connect.yaml
  1. Render and validate the handoff packet:
bash skills/splunk-db-connect-setup/scripts/setup.sh \
  --render \
  --validate \
  --spec my-db-connect.yaml \
  --output-dir splunk-db-connect-rendered

The install helper applies supported DBX/Splunk JDBC add-ons. Any requested

archived, custom, or otherwise unsupported driver emits a manual-driver

handoff and makes the install request return nonzero before any package is

installed; a skipped driver is not reported as a completed install.

  1. If app installation is required, use the explicit install path:
bash skills/splunk-db-connect-setup/scripts/setup.sh \
  --install-apps \
  --accept-install \
  --spec my-db-connect.yaml \
  --output-dir splunk-db-connect-rendered
  1. Apply DBX objects manually or through a future version after reviewing the

rendered dbx/*.preview files. This v1 skill does not mutate DB Connect

identities, connections, inputs, outputs, or lookups.

Supported Topologies

support-managed install path

Required Runtime Checks

Rendered assets include checks for:

JRE validation for Splunk Cloud Victoria search heads

Read reference.md for driver catalog details, topology notes, Cloud behavior,

security controls, migration notes, and troubleshooting.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.