Skip to content

toSplunkEvent

function toSplunkEvent(
item,
batch,
options?
): Record<string, unknown>;

Defined in: src/sinks/splunk.ts:62

Map one item to a HEC event object.

Parameter Type
item StreamItem
batch StreamBatch
options? Pick<SplunkSinkOptions, "index" | "host" | "source" | "sourcetype" | "fields">

Record<string, unknown>