SplunkEndpoint

data class SplunkEndpoint(hecUrl: String, hecToken: String, index: String, sourceType: String, checkCertificate: String)

Model of a Splunk server HEC endpoint.

Constructors

SplunkEndpoint
Link copied to clipboard
common
fun SplunkEndpoint(hecUrl: String, hecToken: String, index: String = "main", sourceType: String = "klogging", checkCertificate: String = "true")

Functions

evalEnv
Link copied to clipboard
common
fun evalEnv(): SplunkEndpoint
Evaluate any environment variables into properties of the endpoint configuration.

Properties

checkCertificate
Link copied to clipboard
common
val checkCertificate: String
hecToken
Link copied to clipboard
common
val hecToken: String
hecUrl
Link copied to clipboard
common
val hecUrl: String
index
Link copied to clipboard
common
val index: String
sourceType
Link copied to clipboard
common
val sourceType: String