Global

Methods

_defaultEventFormatter(messageopt, severityopt) → {any}

The default format for Splunk Enterprise or Splunk Cloud events. This function can be overwritten, and can return any type (string, object, array, and so on).
Parameters:
Name Type Attributes Description
message anything <optional>
The event message.
severity string <optional>
The event severity.
Source:
Returns:
The event format to send to Splunk,
Type
any