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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...