Splunk Dev

Developing Splunk app or add-on using java

seagence
New Member

Hi All, I am a newbie to splunk. I am trying to solve a use case and need to develop an app/add-on using java that sits and runs along with Splunk server.

Basically here is what I want to acheive.

1) Searching for decorated/annotated log data (I have a solution that decorates/annotates some events in debug logs that feed into splunk).
2) Do some processing using java on the search results to identify any abnormalities.
3) If an abnormality is found, present as such on the dashboard.

Can this be done using splunk app/add-on using java?

I think it can be done using Splunk SDK for java but that becomes an external application. I want to do it using a Splunk app or add-on.

Regards,
Srinivas

0 Karma

niketn
Legend

@seagence is the data processing in Java or JavaScript? If you want to have your Custom Command can you use Splunk SDK for Python to create Pyhon Script that can create a Command in Splunk to be directly used in Splunk Searches? Refer to documentation: http://dev.splunk.com/view/python-sdk/SP-CAAAEU2

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

seagence
New Member

@niketnilay yes I have a pre built java component that does some processing on search results, which I want to run in splunk server. Can that be done?

0 Karma

p_gurav
Champion

try using Splunk add-on builder : https://splunkbase.splunk.com/app/2962/

0 Karma

seagence
New Member

I will use any tool that supports developing java based add-on but in first place I am not sure if Splunk supports such an app/add-on.

0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...