Building for the Splunk Platform

Command class missing from splunk-sdk-java-1.3.1.jar


I'm trying to follow the example in that uses com.splunk.Command. I see this class in the Java API, but the class isn't in splunk-sdk-java-1.3.1.jar.

0 Karma

New Member

it is indeed is missing. if you compile sdk manually, you will find this class in build/util/com/splunk/ folder. You have two options here:

  • move the source code file and rebuild.
  • modify the build.xml to include command file.
  • just copy class into the jar
0 Karma
Get Updates on the Splunk Community!

The Splunk Success Framework: Your Guide to Successful Splunk Implementations

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...