Logo: Cisco Meraki Ta Setup

Cisco Meraki Ta Setup

Communautéit
chambear2809
cisco-meraki-ta-setup

Use when configuring Cisco Meraki organization accounts, API inputs, or dashboards in Splunk.

Iwwersiicht

Editeurchambear2809
Repositorysplunk-cisco-skills
Skill-Nummcisco-meraki-ta-setup
Stären
40
Forks
7
Matgeliwwert Dateien
9
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 9 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    chambear2809 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Cisco Meraki Ta Setup an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/cisco-meraki-ta-setup
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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/cisco-meraki-ta-setup .claude/skills/cisco-meraki-ta-setup
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Cisco Meraki Ta Setup an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Cisco Meraki Ta Setup automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Cisco Meraki Ta Setup net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Cisco Meraki TA Setup Automation

Prerequisites

Tool or accessPurposeVerify
Bash, curl, and jqRun setup and REST configuration helperscommand -v bash curl jq
Splunk administrative accessCreate the index, account, inputs, and macrosConfirm search-tier REST access
Meraki Dashboard API keyPoll the selected organizationStore the key in a protected file

Workflow Overview

text
┌───────────┐   ┌────────────┐   ┌──────────────────┐   ┌───────────────┐
│ Preflight │ → │ Install TA │ → │ Configure inputs │ → │ Validate data │
└───────────┘   └────────────┘   └──────────────────┘   └───────────────┘

When to Activate

  • Onboard a Meraki Dashboard organization through Splunk_TA_cisco_meraki.
  • Configure Meraki API accounts, polling inputs, indexes, or dashboard macros.
  • Diagnose missing Meraki data or empty companion dashboards.

Scope

This skill configures Splunk collection and dashboard prerequisites. It does not request API keys in chat, modify Meraki network configuration, or enable every polling input without reviewing rate and volume impact.

Examples

Run the diagnostic validator before account creation:

bash
bash skills/cisco-meraki-ta-setup/scripts/validate.sh

Expected output: package, Splunk access, account prerequisites, and local tools are reported without changing the Meraki organization or Splunk inputs.

Run the completion gate after enabling selected inputs:

bash
bash skills/cisco-meraki-ta-setup/scripts/validate.sh --completion

Expected output: account, enabled inputs, events, source types, macros, and dashboard evidence report [PASS] or exit nonzero.

Troubleshooting

IssueCauseResolution
API returns 401API key is invalidReplace the protected key file
API returns 429Polling exceeds limitsReduce scope or increase intervals
No eventsOrganization or scope is wrongVerify it and inspect logs
Empty dashboardsMacro/source type is wrongValidate events, then align settings

TA Completion Gate

For every TA/add-on or dashboard companion run, satisfy the shared TA completion gate: configure and enable the data ingest path owned by this skill or its required companion, validate events or metrics in the target indexes/source types, and verify any pre-built/package-shipped dashboards are visible, macro-aligned, and returning data. If the package ships no dashboards, record that evidence explicitly and hand off dashboard use to the consuming app, ES/ITSI/ARI content, or readiness doctor.

Automates the Splunk Add-on for Cisco Meraki (Splunk_TA_cisco_meraki).

Package Model

Pull from Splunkbase first (latest version), fall back to splunk-ta/. Use splunk-app-install with --source splunkbase --app-id 5580 to get the latest release. If Splunkbase is unavailable, fall back to the local package in splunk-ta/. This applies to both Splunk Cloud (ACS) and Splunk Enterprise.

After installation, use this skill to configure the account, inputs, dashboard macro, and validation over search-tier REST. Any splunk-ta/_unpacked/ tree is review-only.

Agent Behavior — Credentials

The agent must NEVER ask for passwords, API keys, or secrets in chat.

Splunk credentials are read automatically from the project-root credentials file (falls back to ~/.splunk/credentials). If neither exists, guide the user to create it:

bash
bash skills/shared/scripts/setup_credentials.sh

For the Meraki Dashboard API key, instruct the user to write it to a temporary file:

bash
# User creates the file themselves (agent never sees the secret)
bash skills/shared/scripts/write_secret_file.sh /tmp/meraki_api_key

Then the agent passes --api-key-file /tmp/meraki_api_key to the configure script. After the account is created, delete the temp file.

The agent may freely ask for non-secret values: account names, org IDs, regions, etc.

For prerequisite collection, use skills/cisco-meraki-ta-setup/template.example as the intake worksheet. Copy it to template.local, fill in non-secret values there, and keep the completed file local only.

Environment

Setup and validation use the Splunk search-tier REST API and can run from any host with network access to the Splunk management port (8089). In Splunk Cloud, app installation, index creation, and restarts are handled through ACS instead of the search-tier REST endpoints.

ItemValue
Search-tier APISPLUNK_SEARCH_API_URI env var (legacy alias: SPLUNK_URI)
Cloud stackSPLUNK_CLOUD_STACK for Cloud installs (SPLUNK_PLATFORM is only an override for hybrid runs)
TA app nameSplunk_TA_cisco_meraki
CredentialsProject-root credentials file (falls back to ~/.splunk/credentials)
Skill scriptsskills/cisco-meraki-ta-setup/scripts/ (relative to repo root)

Remote Splunk Connection

To run against a remote Splunk instance:

bash
export SPLUNK_SEARCH_API_URI="https://splunk-host:8089"

Splunk Authentication

Scripts read Splunk credentials from the project-root credentials file. They fall back to ~/.splunk/credentials automatically. No environment variables or command-line password arguments are needed:

bash
bash skills/cisco-meraki-ta-setup/scripts/validate.sh

If credentials are not yet configured, run the setup script first:

bash
bash skills/shared/scripts/setup_credentials.sh

Setup Workflow

Step 1: Create Index and Configure Dashboards

bash
bash skills/cisco-meraki-ta-setup/scripts/setup.sh

Creates the index, sets the meraki_index dashboard macro, and ensures the app is visible in Splunk Web. When run interactively (TTY), the script prompts to continue with account configuration after the initial setup completes. The app package provides its own dashboards; this step wires the macro and app visibility so those dashboards resolve against the right index.

No sudo required when running as the splunk user. In Splunk Cloud, the setup script creates the index through ACS.

IndexPurposeMax Size
merakiAll Meraki Dashboard data512 GB

Partial runs: --indexes-only (skips dashboard macro and visibility fix).

Step 2: Configure Organization Account

Before running, the agent must ask the user for non-secret values:

  • Account name (e.g., "MY_ORG")
  • Organization ID
  • Region (global, india, canada, china, fedramp)
  • Whether to auto-create inputs (recommended)

For the Meraki Dashboard API key, instruct the user to write it to a temp file and pass --api-key-file. The agent never sees the key.

Accounts are created via the Splunk REST API, which handles API key encryption automatically through the TA's custom REST handlers:

bash
bash skills/cisco-meraki-ta-setup/scripts/configure_account.sh \
  --name "MY_ORG" \
  --api-key-file /tmp/meraki_api_key \
  --org-id "123456789" \
  --region global \
  --auto-inputs \
  --index meraki

Copy/paste secret-file prep command:

bash
bash skills/shared/scripts/write_secret_file.sh /tmp/meraki_api_key

REST endpoint used (API key encryption handled automatically):

  • /servicesNS/nobody/Splunk_TA_cisco_meraki/Splunk_TA_cisco_meraki_account

Account fields:

FieldRequiredDescription
--nameYesAccount name / stanza identifier
--api-key-fileYesPath to file containing Meraki Dashboard API key
--org-idYesMeraki organization ID
--regionNoglobal (default), india, canada, china, fedramp
--max-api-rateNoMax API calls/sec, 1-10 (default 5)
--auto-inputsNoAuto-create all inputs on account creation
--indexNoIndex for auto-created inputs (default meraki)

Step 3: Enable Inputs (if not using auto-create)

If --auto-inputs was used in Step 2, all inputs are created automatically. Otherwise, enable manually:

bash
bash skills/cisco-meraki-ta-setup/scripts/setup.sh --enable-inputs \
  --account "MY_ORG" --index "meraki" --input-type all
Input TypeInputs EnabledDescription
all42All scripted polling inputs plus webhook_logs API polling
core7AP, Air Marshal, audit, cameras, org security, MX, switches
devices7Devices, availability, uplinks, uplink loss/latency, power, firmware
wireless6Wireless ethernet, packet loss, controllers
summary5Top appliances, devices, clients, switches, power history
api4API request history, response codes, overview, assurance
vpn2Appliance VPN stats and statuses
licenses4Overview, coterm, subscription entitlements, subscriptions
switches3Port overview, transceivers, ports by switch
organization2Networks and organizations
sensor1Sensor readings history

webhook_logs is API polling and is included in all. The separate HEC-based webhook input still requires its own HEC configuration and is not created by this setup flow.

Step 4: Restart If Required

On Splunk Enterprise, restart Splunk after new index creation. On Splunk Cloud, check acs status current-stack and only run acs restart current-stack when ACS reports restartRequired=true.

Step 5: Validate

bash
bash skills/cisco-meraki-ta-setup/scripts/validate.sh --completion

Checks: app installation, index, account, inputs, data flow, settings.

Dashboards

The app ships its dashboards in the package. They appear in Splunk Web automatically after installation — no import or manual activation is needed.

To access them: Apps → Splunk Add-on for Cisco Meraki

The meraki_index macro (set during Step 1) controls which index the dashboards query. If dashboards show no data after inputs are enabled and data is confirmed in the index, run:

bash
bash skills/cisco-meraki-ta-setup/scripts/setup.sh

to re-apply the macro and visibility settings.

On Splunk Cloud, dashboards are available immediately after ACS completes the app install. Macro updates run over search-tier REST.

Sourcetypes

SourcetypeContent
meraki:accesspointsAccess point data
meraki:securityappliancesMX appliance data
meraki:switchesSwitch data
meraki:camerasCamera data
meraki:organizationsecurityOrganization security events
meraki:auditConfiguration change audit log
meraki:airmarshalWireless Air Marshal events
meraki:devicesDevice inventory
meraki:assurancealertsAssurance alerts
meraki:appliancesdwanstatisticsVPN statistics
meraki:appliancesdwanstatusesVPN statuses
meraki:licensesoverviewLicense overview
meraki:firmwareupgradesFirmware upgrade status
meraki:webhookWebhook events (HEC)

See reference.md for the full sourcetype catalog (35+).

MCP Server Integration

Load custom tools into the MCP Server. Credentials come from the project-root credentials file or the ~/.splunk/credentials fallback:

bash
bash skills/cisco-meraki-ta-setup/scripts/load_mcp_tools.sh

Key Learnings / Known Issues

  1. REST API for accounts: This TA uses custom REST handlers — always create accounts via the REST API, not by writing conf files manually. The handlers encrypt the API key automatically.
  2. Auto-create inputs: Setting automatic_input_creation=1 creates all inputs at account creation time. This is the recommended approach.
  3. Restart behavior differs by platform: Enterprise requires a Splunk restart after new index creation. Splunk Cloud uses ACS restart checks.
  4. No sudo needed: Scripts run fine as the splunk OS user.
  5. Region determines base URL: global→api.meraki.com, india→api.meraki.in, canada→api.meraki.ca, china→api.meraki.cn, fedramp→api.gov-meraki.com.
  6. Webhook inputs split in two: webhook_logs is API polling and is included in the scripted all enablement path. The separate webhook input requires HEC configuration and is not created by this setup flow.
  7. Rate limiting: The max_api_calls_per_second field controls API rate limiting (default 5, max 10).
  8. ACS deployment verification: After ACS install, verify the app identity via REST (configs/conf-app/package). ACS can occasionally deploy the wrong app content into an app directory. If app.conf shows a different app ID, uninstall and reinstall the app individually.
  9. Visibility after ACS install: The app may default to visible=false after ACS install, making it invisible in Splunk Web. The setup script now sets visible=true automatically. The standalone fix is a POST to /services/apps/local/Splunk_TA_cisco_meraki with visible=true.
  10. Dashboard macro in default setup: The setup.sh default flow (no flags) now creates indexes AND configures the meraki_index dashboard macro. setup_dashboards.sh still exists for standalone use or custom index names.
  11. Interactive continuation: When run from a TTY, setup.sh prompts to continue with account configuration after the initial setup completes. This is skipped in non-interactive (piped) contexts.

Additional Resources

Validation Modes

Run scripts/validate.sh for diagnostics. Use --completion (alias --strict) to require an organization account, enabled input, Meraki events and sourcetypes, the meraki_index macro, and visible shipped dashboards.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Cisco Meraki Ta Setup?

Use when configuring Cisco Meraki organization accounts, API inputs, or dashboards in Splunk.

Firwat Cisco Meraki Ta Setup op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Cisco Meraki Ta Setup besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Cisco Meraki Ta Setup an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/cisco-meraki-ta-setup an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Cisco Meraki Ta Setup benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Cisco Meraki Ta Setup benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Cisco Meraki Ta Setup domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Cisco Meraki Ta Setup gratis?

Jo. chambear2809 huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇