Archive

.Net Sample program

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

SplunkTrust
SplunkTrust

Try this for logging to Splunk from a .NET application

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

0 Karma

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

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