
Splunk Cloud - Send JSON Event to HTTP Event Collector
This atomic belongs to the Splunk Cloud atomic group.
This atomic sends a JSON-formatted payload to a Splunk Cloud HTTP event collector (HEC).
Note: Before using this atomic, you must create an HTTP event collector in Splunk Cloud for the index you want to send events to. More information about this configuration can be found here: https://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector
Target: Splunk Cloud integration target or an HTTP endpoint for your HTTP event collector
Steps:
[] Format the event date
[] Build the request and send it
[] Check if the script executed successfully (if not, end the workflow)
[] Check if the request was successful:
[]> If it was, attempt to extract the results and set the output variables
[]> If it wasn't, output an error
More information about this API: https://docs.splunk.com/Documentation/SplunkCloud/9.2.2406/Data/UsetheHTTPEventCollector