Getting Data In

Sample on modular input using java sdk

anumeval
Engager

Hi ,

I am trying to write a modular input in splunk using java .I followed the steps in http://dev.splunk.com/view/java-sdk/SP-CAAAER2

I am getting the following error .

Unable to initialize modular input "testfile" defined inside the app "test1": Introspecting scheme=testfile: script running failed (exited with code 1).

Please help .

Thanks,
Anu

Tags (3)
0 Karma

Damien_Dallimor
Ultra Champion

Try to debug it by executing your mod input script directly from the command line.

There are some examples of how to do this here :
http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ModInputsDevTools

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...