File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
src/SplunkLogger/Configurations Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -16,30 +16,33 @@ public enum ChannelIdOption
16
16
/// <summary>
17
17
/// Gets or sets the batch interval in miliseconds.
18
18
/// </summary>
19
- public uint BatchIntervalInMiliseconds { get ; set ; } = 5000 ; // 5 seconds
19
+ public uint BatchIntervalInMiliseconds { get ; set ; }
20
20
21
21
/// <summary>
22
22
/// Gets or sets the batch size count.
23
23
/// </summary>
24
- public uint BatchSizeCount { get ; set ; } = 10 ;
24
+ public uint BatchSizeCount { get ; set ; }
25
25
26
26
/// <summary>
27
27
/// Gets or sets the default timeout in miliseconds.
28
28
/// </summary>
29
- public int DefaultTimeoutInMiliseconds { get ; set ; } = 10000 ; // 10 seconds
29
+ public int DefaultTimeoutInMiliseconds { get ; set ; }
30
30
31
31
/// <summary>
32
32
/// Gets or sets the splunk collector URL.
33
33
/// </summary>
34
34
public string SplunkCollectorUrl { get ; set ; }
35
35
36
36
/// <summary>
37
- /// Gets or sets indication to use or not hec token autentication at query string
37
+ /// Gets or sets indication to use or not hec token autentication at query string.
38
38
/// </summary>
39
39
public bool UseAuthTokenAsQueryString { get ; set ; }
40
40
41
41
/// <summary>
42
- /// Gets or sets indication to use or not channel identification when using raw endpoint
42
+ /// Gets or sets indication to use or not channel identification when using raw endpoint.
43
+ /// It's important to say that Splunk documentation indicates that ChannelId parameter is only
44
+ /// required for Splunk versions older than 6.7.0.
45
+ /// So if you have earlier version you can supress send this extra data by using <value>ChannelIdOption.None</value>
43
46
/// </summary>
44
47
public ChannelIdOption ChannelIdType { get ; set ; } = ChannelIdOption . None ;
45
48
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ public class SplunkLoggerConfiguration
20
20
/// <summary>
21
21
/// Gets or sets the threshold.
22
22
/// </summary>
23
- public LogLevel Threshold { get ; set ; } = LogLevel . Warning ;
23
+ public LogLevel Threshold { get ; set ; }
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments