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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...