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!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...