Getting Data In

Unable to initialize modular input

hikari992
Explorer

Hi, I'm new to splunk. I'm getting this error "Unable to initialize modular input "LTA" defined inside the app "LTATest": Introspecting scheme=LTA: script running failed (exited with code 1)."
So, how should I solve this error?

anumeval
Engager

I am facing the same issue

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

The modular input is developed using java . any hints on coming out of this problem is greatly appreciated .

Damien_Dallimor
Ultra Champion

Have a look in the splunkd logs for more error details :

You can use a search command like :

index=_internal error ExecProcessor source=*splunkd*

Damien_Dallimor
Ultra Champion

Here are some tips here for manually debugging a mod input :
http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ModInputsDevTools

So you can manually execute the mod input(fill in the relevant values($STANZA_NAME ,$LTA_SCRIPT_NAME ) for your "ltatest" mod input) :

splunk cmd splunkd print-modinput-config LTA $STANZA_NAME | splunk cmd python $SPLUNK_HOME/etc/apps/LTATest/bin/$LTA_SCRIPT_NAME

hikari992
Explorer

What if it doesn't show any error?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...