render Hec
fun renderHec(index: String? = null, sourceType: String? = null, source: String? = null): RenderString
Renders an event into JSON format for Splunk HTTP Event Collector.
Return
The rendered event as a string in JSON format for Splunk HEC.
Parameters
index
The index for the event. Defaults to null if not provided.
source Type
The source type for the event. Defaults to null if not provided.
source
The source for the event. Defaults to null if not provided.