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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...