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
SplunkTrust
SplunkTrust

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!

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 ...