Splunk ddaa archive setup

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

Splunk ddaa archive setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks to archive expired Splunk Cloud index data to the Splunk-managed archive, set or change DDAA archival retention, restore archived data, or move an index onto Splunk Archive. Not for DDSS self-storage or generic index administration, which live in splunk-cloud-acs-admin-setup.

How to use this skill

Skill file

Splunk Cloud DDAA Archive Setup

Enterprise applicability

DDAA archives Splunk Cloud indexes in a Splunk-managed archive. The default workflow does not configure a self-managed Enterprise

10.6 feature. Keep its Splunk Cloud validation separate. See the

documented service scope.

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

restore archived data, or move an index onto Splunk Archive. Not for DDSS self-storage or generic index

administration, which.

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-ddaa-archive-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-ddaa-archive-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 |

This skill renders and applies Dynamic Data Active Archive policy for Splunk

Cloud indexes. It is render-first because archival retention is a durable

storage policy counted from index creation.

Agent Behavior

Never ask for secrets; ACS auth uses the project credentials file and the

configured stack. Applying archival retention refuses to run without

--accept-archive-retention. Restore and disable have no ACS API and are

emitted as Splunk Web runbooks.

Quick Start

Render a DDAA policy (90 searchable days, 365 total):

bash skills/splunk-ddaa-archive-setup/scripts/setup.sh --index netfw --searchable-days 90 --archival-retention-days 365

Apply it via ACS (gated):

bash skills/splunk-ddaa-archive-setup/scripts/setup.sh --phase apply \
  --index netfw --searchable-days 90 --archival-retention-days 365 --accept-archive-retention

What It Renders

Rules

period, counted from index creation, and must exceed searchable days and be

<= 3650 days (10 years).

your Splunk account team.

splunk-cloud-acs-admin-setup.

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.