You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/integrating-hpe-greenlake-webhooks-with-splunk.md
+20-25Lines changed: 20 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,26 @@ You can install and configure the endpoint handler directly on your Splunk Enter
107
107
108
108
[Splunk Cloud has extra security controls](https://docs.splunk.com/Documentation/SplunkCloud/latest/RESTTUT/RESTandCloud), so you might need to take additional steps to allow your helper to communicate with the Splunk REST API.
109
109
110
+
## Generate an Splunk REST API key
111
+
112
+
In order to use the custom REST endpoint in Splunk, you need to get an API key which HPE GreenLake will use to authenticate against Splunk when initially setting up the webhook and sending events. You can use the following cURL command to generate a key.
Let's create a custom REST endpoint handler in Python to handle the HPE GreenLake webhook validation and forwards events to Splunk HEC, once validated.
@@ -291,31 +311,6 @@ This allows you to get your HEC endpoint, which is used in the Python handler to
Don’t forget to modify the Python handler (shown above) line 7 accordingly.
295
-
296
-
### Generate an Splunk REST API key
297
-
298
-
In order to use the custom REST endpoint in Splunk, you need to get an API key which HPE GreenLake will use to authenticate against Splunk when setiing up the webhook and sending events. You can use the following cURL command to generate a key.
0 commit comments