Logo di Splunk Index Lifecycle Smartstore Setup

Splunk Index Lifecycle Smartstore Setup

Community
chambear2809
splunk-index-lifecycle-smartstore-setup

Use when the user asks to inventory index age/size/retention, decide whether indexes are unused, change searchable retention, configure SmartStore remote volumes, enable Cloud archive handoffs, restore/thaw archived data, disable indexes, delete indexes, clean standalone index data, configure S3/GCS/Azure object storage for indexes, set indexes.conf lifecycle settings, maxTotalDataSizeMB, maxGlobalDataSizeMB, maxGlobalRawDataSizeMB, frozenTimePeriodInSecs, cache manager settings, limits.conf remote-storage localization settings, cluster-manager bundle deployment, or standalone indexer lifecycle assets. Render, preflight, apply, and validate Splunk index lifecycle and SmartStore workflows.

Panoramica

Pubblicato dachambear2809
Repositorysplunk-cisco-skills
Nome della skillsplunk-index-lifecycle-smartstore-setup
Stelle
40
Fork
7
File inclusi
6
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 6

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da chambear2809 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Splunk Index Lifecycle Smartstore Setup in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-index-lifecycle-smartstore-setup
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chambear2809/splunk-cisco-skills.git /tmp/splunk-cisco-skills
mkdir -p .claude/skills
cp -r /tmp/splunk-cisco-skills/skills/splunk-index-lifecycle-smartstore-setup .claude/skills/splunk-index-lifecycle-smartstore-setup
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Splunk Index Lifecycle Smartstore Setup in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Splunk Index Lifecycle Smartstore Setup non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Splunk Index Lifecycle Smartstore Setup non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Splunk Index Lifecycle / SmartStore Setup

Prerequisites

Tool or accessPurposeVerify
Bash and Python 3Run bundled setup and validation helpersbash --version && python3 --version
Required product/platform accessInspect or configure the selected targetComplete the documented preflight
Credential files for live modesKeep secrets out of chatVerify paths only

Workflow Overview

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

When to Activate

  • Inventory index age/size/retention, decide whether indexes are unused, change searchable retention, configure SmartStore remote volumes, enable Cloud archive handoffs, restore/thaw archived data, disable indexes, delete indexes, clean.
  • Preview and review the splunk index lifecycle smartstore setup workflow before any live apply phase.
  • Diagnose failed prerequisites, generated assets, configuration, or validation evidence.

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
bash skills/splunk-index-lifecycle-smartstore-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
bash skills/splunk-index-lifecycle-smartstore-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.

Troubleshooting

IssueCauseResolution
Preflight failsA required tool or access path is missingResolve it before rendering or applying
Rendered assets are incompleteRequired non-secret inputs are absentComplete intake and render again
Apply is blockedReview, credentials, or explicit acceptance is missingUse the documented handoff
Validation is incompleteLive evidence is unavailableRecord the gap and keep completion open

This skill is the canonical index lifecycle workflow for Splunk Platform. It renders evidence collection, dependency reports, retention plans, SmartStore configuration, archive/restore handoffs, and gated apply scripts for selected high-risk operations.

Agent Behavior

Never ask for Splunk session keys, ACS tokens, object-store access keys, or other secrets in chat. Use local files only:

bash
bash skills/shared/scripts/write_secret_file.sh /tmp/acs_token
bash skills/shared/scripts/write_secret_file.sh /tmp/smartstore_s3_access_key
bash skills/shared/scripts/write_secret_file.sh /tmp/smartstore_s3_secret_key

Secret files used by generated live helpers must be regular, non-symlink files, owned by the executing user, and mode 0600 (or stricter). Generated curl configuration, ACS request payloads, and ACS response bodies use owner-only, random temporary paths and are removed on exit. Tokens are never placed in process arguments.

Start with render or inventory. Do not treat a frozen, stale, or low-volume index as unused until dependency evidence has been collected and reviewed.

Destructive operations fail closed. delete-index and clean-data require:

  • --accept-destructive-index-delete
  • --owner-approval-file
  • --backup-evidence-file
  • --evidence-file marking each target index safe to delete
  • --confirm-token DELETE_INDEX:<index> for each target index

The skill hard-blocks deletion of internal indexes beginning with _. It also blocks protected default indexes and ES/ITSI/ARI-sensitive indexes unless the evidence explicitly classifies the index as safe under the documented gates. Clustered clean-data is refused.

Live apply does not report completion from an HTTP or CLI acceptance alone:

  • Cloud retention polls ACS GET until every requested field matches.
  • Cloud deletion polls ACS GET until each target returns 404.
  • Standalone Enterprise SmartStore/retention/disable/delete helpers perform a post-action btool readback.
  • Cluster-manager helpers require bundle apply, then require bundle-status readback. If bundle apply or a standalone restart is disabled, the generated helper exits 2 after staging and identifies the remaining handoff.

Multi-index Cloud mutations stop on the first unverified target, exit nonzero, and report any earlier targets already verified. They are not transactional.

Quick Start

Inventory all indexes and render collection searches:

bash
bash skills/splunk-index-lifecycle-smartstore-setup/scripts/setup.sh \
  --phase inventory \
  --indexes all

Render and optionally run REST export collection with a local session-key file:

bash
bash skills/splunk-index-lifecycle-smartstore-setup/scripts/setup.sh \
  --phase inventory \
  --indexes all \
  --session-key-file /tmp/splunk_session_key \
  --splunk-uri https://localhost:8089

Render an Enterprise retention overlay:

bash
bash skills/splunk-index-lifecycle-smartstore-setup/scripts/setup.sh \
  --operation retention \
  --indexes cisco_asa,network \
  --max-total-data-size-mb 1048576 \
  --frozen-time-period-in-secs 7776000

Render per-index SmartStore for an indexer cluster:

bash
bash skills/splunk-index-lifecycle-smartstore-setup/scripts/setup.sh \
  --operation smartstore \
  --deployment cluster \
  --remote-provider s3 \
  --remote-path s3://splunk-prod-smartstore/cluster-a \
  --indexes main,summary \
  --max-global-data-size-mb 10485760 \
  --cache-size-mb 262144

Render a Splunk Cloud retention payload:

bash
bash skills/splunk-index-lifecycle-smartstore-setup/scripts/setup.sh \
  --platform cloud \
  --operation retention \
  --stack my-stack \
  --indexes cisco_asa \
  --searchable-days 90 \
  --max-data-size-mb 512000

What It Renders

The default output directory is splunk-smartstore-rendered/smartstore/.

  • index-lifecycle-report.md/json
  • index-dependency-report.md/json
  • collection-searches.spl
  • collect-evidence.sh
  • retention-change-plan.md
  • destructive-action-plan.md
  • SmartStore indexes.conf.template, server.conf, and limits.conf
  • Enterprise retention/disable overlays and apply helpers
  • Cloud ACS retention/delete payload helpers
  • DDAA archive and restore/thaw handoffs

Use splunk-data-source-readiness-doctor when evidence must prove whether dashboards, saved searches, ES, ITSI, ARI, CIM, HEC tokens, or macros still depend on an index. Use splunk-ddaa-archive-setup for Splunk Cloud DDAA archive enable/update and restore auditing.

Read reference.md before changing lifecycle safety gates, destructive apply behavior, or SmartStore retention defaults.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Splunk Index Lifecycle Smartstore Setup?

Use when the user asks to inventory index age/size/retention, decide whether indexes are unused, change searchable retention, configure SmartStore remote volumes, enable Cloud archive handoffs, restore/thaw archived data, disable indexes, delete indexes, clean standalone index data, configure S3/GCS/Azure object storage for indexes, set indexes.conf lifecycle settings, maxTotalDataSizeMB, maxGlobalDataSizeMB, maxGlobalRawDataSizeMB, frozenTimePeriodInSecs, cache manager settings, limits.conf remote-storage localization settings, cluster-manager bundle deployment, or standalone indexer lifec...

Perché usare Splunk Index Lifecycle Smartstore Setup su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Splunk Index Lifecycle Smartstore Setup è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Splunk Index Lifecycle Smartstore Setup in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-index-lifecycle-smartstore-setup. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Splunk Index Lifecycle Smartstore Setup?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Splunk Index Lifecycle Smartstore Setup?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Splunk Index Lifecycle Smartstore Setup: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Splunk Index Lifecycle Smartstore Setup è gratuita?

Sì. È pubblicata su GitHub da chambear2809 con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇