Splunk Search

How to write a custom generating command which can leverage the single input to collect data and write the output as events to an index?

panovattack
Communicator

I am trying to find a good tutorial (yes, I have looked at the splunk documents) on writing a custom generating command which will take a single input, leverage the input to collect data (over an API call perhaps) and then write the output as events to an index. I can't seem to find good boiler-plate examples in the SDK, while they do provide templates. Are there any tutorials out there?

Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...