Skip to content

Commit 7a17c41

Browse files
committed
Doco cleanup
1 parent ffd38c1 commit 7a17c41

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,6 @@ Using the new Event Collector in Splunk 6.3
2121

2222
```csharp
2323
var log = new LoggerConfiguration()
24-
.WriteTo.SplunkViaEventCollector("https://mysplunk:8088/services/collector", "myeventcollectortoken")
24+
.WriteTo.EventCollector("https://mysplunk:8088/services/collector", "myeventcollectortoken")
2525
.CreateLogger();
26-
```
27-
28-
Set up to log via TCP
29-
30-
```csharp
31-
var log = new LoggerConfiguration()
32-
.WriteTo.SplunkViaTcp("127.0.0.1", 10001)
33-
.CreateLogger();
34-
```
35-
36-
Or maybe UDP
37-
38-
```csharp
39-
var log = new LoggerConfiguration()
40-
.WriteTo.SplunkViaUdp("127.0.0.1", 10000)
41-
.CreateLogger();
42-
```
43-
26+
```

0 commit comments

Comments
 (0)