/sc4s-plugin:manage-sc4s-splunk-metadatafrom sc4s-plugin
Safely inspect, add, update, remove, or clear SC4S Splunk metadata overrides in splunk_metadata.csv via MCP. Handles vendor_product index, source, sourcetype, host, and sc4s_template fields.
Ships in sc4s-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage the live splunk_metadata.csv as a full-replacement resource while preserving entries the user did not ask to change.
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.
Always call {SC4S_NS}get_splunk_metadata before planning a change. Treat each entry as:
{"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.
Determine whether the user wants to add, update, remove, or clear entries:
key, allowed metadata, and value; reject an ambiguous duplicate identity.(key, metadata) and change only its value.delete_splunk_metadata.Before any write:
entries list, not only the changed rows.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.After explicit confirmation:
{SC4S_NS}set_splunk_metadata(entries=<complete final list>) exactly once.{SC4S_NS}delete_splunk_metadata exactly once.job_id; otherwise report an unsuccessful submission and stop.{SC4S_NS}get_job_status(job_id) and keep polling while status is in_progress.failed, report the error and stop. Do not claim the file changed, retry, or roll back automatically.success, call {SC4S_NS}get_splunk_metadata again and compare the returned entries with the intended final state. Then call {SC4S_NS}sc4s_health.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub splunk/splunk-connect-for-syslog --plugin sc4s-plugin6 skills in this plugin
/create-parserDesign an SC4S syslog-ng parser from raw log samples, optionally deploy it through the SC4S MCP server. Use when onboarding a new vendor or product, adding a custom log source, or creating parser logic for unsupported logs./manage-sc4s-parsersSafely list, inspect, deploy, update, or delete custom parsers on a running SC4S instance through MCP. Use for custom parser inventory, parser content review, parser replacement, removal, and post-change verification./sc4s-guided-configurationUse when users ask to configure SC4S, create an env_file, set Splunk HEC details, tune performance, or apply generated settings to a running SC4S instance through natural conversation./sc4s-send-syslogSend raw-text test syslog events to the SC4S host through its MCP tool. Use when a user wants to inject sample syslog lines for parser, routing, or ingestion testing; not for PCAP replay or arbitrary hosts./troubleshoot-sc4sDiagnose SC4S collector startup, ingestion, parsing, metadata, buffering, resource, and management API problems with MCP or operator-run commands. Keep troubleshooting within SC4S; identify external failures and hand off to their owner.Other plugins' skills for the same job