Przejdź do treści
Biblioteka skilli
DevOps i chmura · Integracja z narzędziem

manage-sc4s-splunk-metadata

/manage-sc4s-splunk-metadata

Zarządza metadanymi Splunk w SC4S przez MCP: bezpiecznie sprawdza, dodaje, zmienia, usuwa i czyści nadpisania indeksu, źródła, sourcetype, hosta i sc4s_template w splunk_metadata.csv.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
23.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Zarządza metadanymi Splunk w SC4S przez MCP: bezpiecznie sprawdza, dodaje, zmienia, usuwa i czyści nadpisania indeksu, źródła, sourcetype, hosta i sc4s_template w splunk_metadata.csv.

Oryginalny opis (EN)

Manage SC4S Splunk Metadata by safely inspecting, adding, updating, removing, or clearing overrides through MCP. Use for vendor_product index, source, sourcetype, host, or sc4s_template overrides in splunk_metadata.csv.

Jak działa

  1. Discover the SC4S tools
  2. Read and interpret current state
  3. Build a proposed change
  4. Apply and verify
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 470 słów
Podgląd SKILL.md
---
name: manage-sc4s-splunk-metadata
description: Manage SC4S Splunk Metadata by safely inspecting, adding, updating, removing, or clearing overrides through MCP. Use for vendor_product index, source, sourcetype, host, or sc4s_template overrides in splunk_metadata.csv.
---

# Manage SC4S Splunk Metadata

Manage the live `splunk_metadata.csv` as a full-replacement resource while preserving entries the user did not ask to change.

## Discover the SC4S tools

Find a callable tool whose name ends with `get_splunk_metadata`. Store everything before that suffix as `{SC4S_NS}`. Use the same prefix for `set_splunk_metadata`, `delete_splunk_metadata`, `get_job_status`, and `sc4s_health`.

If no matching read tool is callable, explain that this workflow requires an SC4S MCP connection and stop before proposing a live mutation.

## Read and interpret current state

Always call `{SC4S_NS}get_splunk_metadata` before planning a change. Treat each entry as:

```json
{"key": "vendor_product", "metadata": "index", "value": "target_value"}
```

Allow only these metadata fields: `index`, `source`, `sourcetype`, `host`, and `sc4s_template`.

Use `(key, metadata)` as the logical identity when matching an entry. Preserve unrelated entries and their order. Append new entries after existing entries unless the user requests another order. If the current file contains duplicate logical identities, show them and ask how to resolve them; do not silently collapse or reorder them.

For read-only requests, present a compact table and do not ask for mutation confirmation.

## Build a proposed change

Determine whether the user wants to add, update, remove, or clear entries:

- Add: require non-empty `key`, allowed `metadata`, and `value`; reject an ambiguous duplicate identity.
- Update: match exactly one current `(key, metadata)` and change only its value.
- Remove: match the exact identity and remove only that entry.
- Clear: remove every entry by using `delete_splunk_metadata`.

Before any write:

1. Re-read current metadata so the proposal is based on the latest live state.
2. Build the complete final `entries` list, not only the changed rows.
3. Validate every entry has exactly the required semantic fields and an allowed metadata name.
4. Show an added/changed/removed summary and the complete replacement payload.
5. State prominently that `set_splunk_metadata` overwrites the entire live file and that unrelated rows are preserved only because they are included in the payload. For clear, state that every override will be removed.
6. Explain that applying the change restarts SC4S and obtain fresh explicit confirmation immediately before the tool call. An earlier discussion or approval is not confirmation to mutate.

## Apply and verify

After explicit confirmation:

1. For add, update, or partial removal, call `{SC4S_NS}set_splunk_metadata(entries=<complete final list>)` exactly once.
2. For clear, call `{SC4S_NS}delete_splunk_metadata` exactly once.
3. Require a non-empty, well-formed `job_id`; otherwise report an unsuccessful submission and stop.
4. Call `{SC4S_NS}get_job_status(job_id)` and keep polling while status is `in_progress`.
5. On terminal `failed`, report the error and stop. Do not claim the file changed, retry, or roll back automatically.
6. Only on terminal `success`, call `{SC4S_NS}get_splunk_metadata` again and compare the returned entries with the intended final state. Then call `{SC4S_NS}sc4s_health`.
7. Report full success only if the job succeeded, read-back matches, and SC4S is healthy. Otherwise distinguish job completion from verification failure.
Pliki w paczce (2)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie manage-sc4s-splunk-metadata.

Migawka bazy z 13.11.2026 · wersja paczki f2a1dfb041a9 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100splunk
    Obsługuje Splunk Enterprise i Splunk Cloud jako platformę logów i metryk: SPL, architekturę rozproszoną, ingest, dashboardy, alerty i koszty licencji.
  • 100splunk-curl-search
    Wykonuje ograniczone, tylko do odczytu zapytania SPL do Splunka przez REST z curl, bez dostępu SSH.
  • 100create-splunk-free-account
    Składa po zgodzie użytkownika zgłoszenie rejestracji w Splunk Observability Cloud Free Edition w obsługiwanym regionie przez bezprzeglądarkowy backend MCP Splunk Observability Studio.
  • 100connect-splunk-observability-cloud
    Otwiera lokalną kartę Splunk Observability Studio Cloud, w której użytkownik wpisuje URL i token dostępu do organizacji Splunk Observability Cloud poza kontekstem agenta.
  • 90splunk-app-conventions
    Sprawdza, waliduje i wydaje aplikacje Splunk oraz skrypty wdrożeniowe zgodnie z konwencjami repozytorium.
  • 100superman-splunk
    Pomaga w pracy ze Splunkiem: pisze zapytania SPL, konfiguruje indeksatory i dashboardy oraz diagnozuje wydajność.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.