Send webhook events to Splunk via Http Event Collector (HEC)
Note: Relies on node
Install Serverless
npm install -g serverless
Install other dependencies
npm install
Configure Serverless here. This is used to deploy the system to AWS with a single command.
The system can be deployed via the command line, with the following parameters:
app
: application name (zoom, gitlab, etc)region
: an AWS regionauth_token
: authorization tokensplunk_url
: the url of your target splunk instance, including the relevant port number for HttpEventCollectorsplunk_token
: the HEC token
Example:
serverless deploy --app=zoom --region=us-east-2 --auth_token=cchh-ddc-dff --splunk_url=https://input-prd-p-abcdefg.cloud.splunk.com:8088 --splunk_token=XXX
After the deploy has finished you should see something like:
Service Information
service: webhook-splunk-hec
stage: dev
region: us-east-1
api keys:
None
endpoints:
POST - https://abcdefg.execute-api.us-east-1.amazonaws.com/dev/webhook
functions:
logToSplunk: webhook-hec-dev-logToSplunk
Configure your webhook in your zoom settings. Setting up a Webhook App
(1.) Plugin your API POST endpoint for Event notification endpoint URL. (https://abcdefg.execute-api.us-east-1.amazonaws.com/dev/webhook
in this example)
(2.) Choose the types of events you want the zoom webhook to fire on
(3.) Plugin your verification token for auth_token
Configure your webhook in your gitlab settings. Setting up a Webhook App