4.12 How to Configure Splunk Forwarding
Scribbler supports forwarding logs to Splunk.
Procedure
-
In the navigation pane, go to Configuration > Splunk

-
Click Enabled
-
Provide the required parameters. Refer the in-screen Help for detailed instructions.
-
HEC Endpoint URL -> URL of the Splunk HEC collector
-
HEC Token -> A token required to send the logs to Splunk HEC collector. Must be generated from Splunk.
-
HEC Event Format
- Raw -> Sends the logs to Splunk as received in pure raw format. All the Splunk processing pipelines are executed.
- Json Raw -> Sends the logs to Splunk in JSON format as per HEC standard. Splunk may skip some items during pipeline execution. Refer the Splunk team for more details.
-
Use TLS -> Enable to connect to HTTPS HEC endpoint.
-
Either CA Certificate or Ignore TLS Certificate Errors option should be enabled to forward the logs to Splunk through TLS.
-
CA Certificate -> Provide the CA Chain in PEM format. Scribbler will forward only if the HEC endpoint's certificate is issued by the provided CA. A handy option "Fetch Current Cert" is available to fetch the CA Chain of the HEC endpoint.
-
(Optional) Provide Default Source and Default Index for all the outgoing messages
-
(Optional) Scribbler supports configuring source & source type for each outgoing message before sending it to Splunk. That will be handy if the Splunk indexer requires source type.
- Scribbler supports defining metadata for an IP Address and IP Address + Regex combination.
- If there are multiple applications running on single IP then, IP Address regex combination can be used as shown below.

-
In the above example,
- Scribbler executes the regex on a message to be forwarded to Splunk
- If both and IP and Regex matched then scribbler assigns source type to "scribbler" and stops further processing and forwards to splunk
- If first condition does not match, It moves to next condition till a match is found.
- The last condition should be IP Only without and regex.
-
The above configuration is for a machine where both scribbler log manager and windows agent is installed. The configuration correctly identifies the log to be forwarded to Splunk and sets correct source type.
-
Click Save. The configuration will be saved, and it will take a min to take effect.