All Apps and Add-ons

what is modular input? and how to test an add-on with modular input?

surbhiQA
Engager

what is modular input? and how to test an add-on with modular input?

0 Karma
1 Solution

deepashri_123
Motivator

Hey surbhiQA,

Modular inputs enable you to add new types of inputs to Splunk Enterprise, and have them treated as native Splunk Enterprise inputs.
Your users interactively create and update your custom inputs using Splunk Web, just as they do for native inputs.

You can refer the following docs:
http://docs.splunk.com/Documentation/Splunk/7.0.2/AdvancedDev/ModInputsIntro
https://docs.splunk.com/Documentation/SplunkCloud/7.0.0/AdvancedDev/ModInputsBasicExample

Let me know if this helps!!

View solution in original post

0 Karma

deepashri_123
Motivator

Hey surbhiQA,

Modular inputs enable you to add new types of inputs to Splunk Enterprise, and have them treated as native Splunk Enterprise inputs.
Your users interactively create and update your custom inputs using Splunk Web, just as they do for native inputs.

You can refer the following docs:
http://docs.splunk.com/Documentation/Splunk/7.0.2/AdvancedDev/ModInputsIntro
https://docs.splunk.com/Documentation/SplunkCloud/7.0.0/AdvancedDev/ModInputsBasicExample

Let me know if this helps!!

0 Karma

deepashri_123
Motivator

@surbhiQA Please accept the answer that helped you , so that this can be used for future reference

0 Karma

tiagofbmm
Influencer

Hi

A modular input is a script that you can ask splunk to run and grab the results.

You can make a simple test with a shell script like this:

Configure scripted data input in $SPLUNK_HOME/etc//default/inputs.conf. Use the local directory for the app to overwrite behavior defined in the default directory. Here is an example:

[script://$SPLUNK_HOME/etc/apps//bin/starter_script.sh]

Make sure your script has execute permissions there for the Splunk user.

0 Karma

tiagofbmm
Influencer

Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...