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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...