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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...