All Apps and Add-ons

.Net Sample program

sssuma
New Member

Hi All,

Do any one have simple .net program with all classes and namespaces to connect the splunk server and write "hello world" in on of the index.

I don't want any complex program i need what solution you have chosen (like console based, web based, etc..)
what .net language used (c#, vb, etc)
what are all the reference you have added like ( Splunk.client, splunk.logging, etc)
Full functions , don't say if you use Asynlogon to login, i need complete program with each functions and variables are defined properly.
Please help me on this
Thanks you so much.

With Regards,
Sivasuthan

Tags (4)
0 Karma

somesoni2
Revered Legend

Try this for logging to Splunk from a .NET application

http://dev.splunk.com/view/splunk-loglib-dotnet/SP-CAAAEX4

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

The submit example from http://dev.splunk.com/view/csharp-sdk-pcl/SP-CAAAEY4 seems to come close to what you describe.

0 Karma

sssuma
New Member

thats is not working I have downloded and used, they are telling everthing in co nsole but the connection is even not working for me,
for me simple program in web based application or desktop application simple button click
the splunk connection has to be established and its log has to be delivered in splunk server.

no additional details required
as simple as possible.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...