Splunk Dev

Is the Splunk SDK for python required to create custom commands?

a212830
Champion

Looking to create some custom commands - is the Splunk SDK required in order to do this?

0 Karma

inventsekar
SplunkTrust
SplunkTrust

As per my understanding, SDK would make it easier. from docs -
A custom search command is an executable binary file that reads data in and writes data out. This could be a Python script, a C++ program, or some other executable binary file. For simplicity, the file is referred to as the executable in this documentation. splunk docs -
https://docs.splunk.com/Documentation/Splunk/6.4.2/Search/Writeasearchcommand

splunk blog link -
http://blogs.splunk.com/2014/04/14/building-custom-search-commands-in-python-part-i-a-simple-generat...

splunk answers post -
https://answers.splunk.com/answers/93248/creating-custom-commands-splunk-5-0-2.html

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...