Project

General

Profile

How to Set Up An Incoming Webhook from IFTTT » History » Version 2

Luke Murphey, 07/06/2017 06:52 PM

1 2 Luke Murphey
h1. How to Set up an Incoming Webhook IFTTT
2 1 Luke Murphey
3 1 Luke Murphey
You can use IFTTT to push data to your Splunk install via a Webhook. Here is how you do it:
4 1 Luke Murphey
5 1 Luke Murphey
h2. Step 1: Create Input in Splunk
6 1 Luke Murphey
7 1 Luke Murphey
Create a webhook in Splunk if you have not done so already.
8 1 Luke Murphey
9 1 Luke Murphey
h2. Step 2: Configure Maker Channel in IFTTT
10 1 Luke Murphey
11 1 Luke Murphey
Use the Maker channel in IFTTT to push data to your Splunk install. Make a new applet and make sure that the applet is configured with the following:
12 1 Luke Murphey
13 1 Luke Murphey
If you want to upload form data then make sure the following is configured:
14 1 Luke Murphey
15 1 Luke Murphey
# The method is a POST
16 1 Luke Murphey
# The content type is "application/JSON" if you want to send structured data. Otherwise, use "plain/text" if you just want the data ingested as text.
17 1 Luke Murphey
# The body is filled out. If you chose "application/JSON" format, then make sure the data is valid JSON. You can do this by entering the body at http://jsonparseronline.com/ and ensuring it is indicated as valid.