All Apps and Add-ons

How to troubleshoot Rest API Modular Input?

kvaga
Explorer

I've installed the application, rebooted Splunk, Configured Data Inputs. But nothing happened. My index is empty. There is no clue in log files under /opt/Splunk/var/logs/Splunk. How can I localize the cause of problem?

0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI @kvaga,

You can troubleshoot Module Input by

  • REST API access
    The Splunk platform provides REST endpoints to access modular inputs installed on a Splunk server. You can access the REST endpoint using the manager port of Splunk Web.

    https://localhost:8089/services/data/modular-inputs
    https://localhost:8089/services/data/modular-inputs/{name}

  • Print modular inputs configurations
    Use the Splunk utility, print-modinput-config to print the XML configuration for a modular input. Here is how you call the command for a script named myscript.py with the specified stanza in inputs.conf

    splunk cmd splunkd print-modinput-config myscheme mystanza

Please check following link for detailed information.

https://docs.splunk.com/Documentation/Splunk/7.1.1/AdvancedDev/ModInputsDevTools

Thanks

View solution in original post

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI @kvaga,

You can troubleshoot Module Input by

  • REST API access
    The Splunk platform provides REST endpoints to access modular inputs installed on a Splunk server. You can access the REST endpoint using the manager port of Splunk Web.

    https://localhost:8089/services/data/modular-inputs
    https://localhost:8089/services/data/modular-inputs/{name}

  • Print modular inputs configurations
    Use the Splunk utility, print-modinput-config to print the XML configuration for a modular input. Here is how you call the command for a script named myscript.py with the specified stanza in inputs.conf

    splunk cmd splunkd print-modinput-config myscheme mystanza

Please check following link for detailed information.

https://docs.splunk.com/Documentation/Splunk/7.1.1/AdvancedDev/ModInputsDevTools

Thanks

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...