Splunk Search

Custom scripts in Splunk

viverma5
Explorer

Hi,

I need to understand that does SPLUNK supports creating our own scripts/java codes to read data from some security devices which have custom API to read data from.
Like, sourcefire estreamer user custom API, so can I built my own code in SPLUNK which reads data from sourcefire. If yes then how it is possible?
Do we have some links available?

Tags (1)

derekarnold
Communicator

Perhaps the solution is even easier, have you looked at the Splunk for Sourcefire app?

http://apps.splunk.com/app/664/

viverma5
Explorer

Thanks @martin_mueller for valuable information.

@derekarnold, I have considered this as an option but what I am curious is about the reliability of these apps. If something goes wrong tomorrow so who can support this? Do we have separate license for these apps?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Yes, custom inputs can be plain scripts or modular inputs.
http://docs.splunk.com/Documentation/Splunk/6.1.2/AdvancedDev/ScriptedInputsIntro
http://docs.splunk.com/Documentation/Splunk/6.1.2/AdvancedDev/ModInputsIntro

You mentioned Java - the Java SDK has support for modular inputs as well.
http://dev.splunk.com/view/java-sdk/SP-CAAAER2

You can package those inputs in your own app if you like, and even publish that on Splunk Apps (optional).

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...