splunk-endpoint

Create REST endpoints for Splunk Technology Add-ons with handler and configuration steps.

4|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/lyderhansen/The-Fake-T-Shirt-Company --skill splunk-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: splunk-endpoint
Source: https://github.com/lyderhansen/The-Fake-T-Shirt-Company/tree/main/.claude/skills/splunk-endpoint
Command: npx skills add https://github.com/lyderhansen/The-Fake-T-Shirt-Company --skill splunk-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding new RESTful API endpoints to a Splunk Technology Add-on, enabling custom functionality for the admin dashboard.

Core Features & Use Cases

  • REST Endpoint Creation: Provides a template and clear steps for defining new API endpoints in Splunk.
  • Handler Implementation: Guides on using the correct handler pattern (PersistentServerConnectionApplication) for robust POST request handling.
  • Configuration: Details necessary configurations in restmap.conf and web.conf to expose the endpoint.
  • Use Case: You need to create a new endpoint in your Splunk TA to trigger a custom data refresh process from the Splunk UI.

Quick Start

Use the splunk-endpoint skill to create a new REST endpoint named 'my_new_endpoint' for the Splunk TA.

Frequently Asked Questions about splunk-endpoint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a custom REST endpoint to a Splunk Technology Add-on?

You create a custom REST endpoint in a Splunk TA by implementing a handler using the PersistentServerConnectionApplication pattern, then exposing it through configurations in restmap.conf and web.conf.

How do I handle POST requests in a Splunk REST endpoint handler?

To handle POST requests in a Splunk REST endpoint, implement the PersistentServerConnectionApplication handler pattern, which provides robust request processing for your custom administrative dashboard functionalities.

What Splunk configurations are required to expose a new REST API endpoint?

Exposing a new REST API endpoint in Splunk requires adding specific route mappings and access settings in restmap.conf and web.conf to make the custom handler reachable via the web framework.

Can I trigger a custom data refresh process from the Splunk admin dashboard?

Yes, you can trigger a custom data refresh process from the Splunk admin dashboard by creating a new REST endpoint in your Technology Add-on and integrating JavaScript for Splunk web access.

How do I integrate JavaScript with a custom Splunk REST endpoint for UI access?

You integrate JavaScript with a custom Splunk REST endpoint by configuring the endpoint in restmap.conf and web.conf, allowing your Splunk web scripts to interact with the custom handler for UI operations.

When do I need a custom REST endpoint in my Splunk TA?

You need a custom REST endpoint in your Splunk TA when you want to enable custom administrative dashboard functionalities, such as triggering a custom data refresh process directly from the Splunk UI.