Splunk Dev

Can c# or java sdk be used to write custom search commands

swativaid
New Member

Hello,
I want to write a custom search command. I am able to find samples of doing that in python but unable to find anything to do that in any other language. Can someone please provide a sample in c#

Tags (3)
0 Karma

niketn
Legend

Custom Command Version 2 protocol is used by Python SDK only. You would need to check with Splunk Team for future road map.

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

briancronrath
Contributor

Do you mean run C# within a splunk query itself? I'm not aware of that being possible, but you can call splunk from C# with the SDK. Here's an example: http://dev.splunk.com/view/csharp-sdk/SP-CAAAEUK

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...