Tara Calihman - June 28, 2016
We announced the arrival of our Incident Automation Engine last week. In case you missed it, our engine is comprised of many powerful features from our incident management platform, everything from our alert annotations tool to our newest offering of outbound webhooks.
Outbound webhooks is a powerhouse of a feature. For our internal hackathon (and before we released the webhook functionality to the public), we wanted to see what we could build with this functionality. There were lots of cool projects but for the sake of focusing in on a single use case, here’s what Andrew built using outbound webhooks.
The webhook setup is relatively simple.
– You will need a Keen IO account (they have a free-trial version which I used for this test).
– You will need your VictorOps account (as an admin, with webhooks turned on).
– You will need a DataHero account (they have a free-trial version which I used for this test).
Inside your Keen IO account, start a new project.
Copy the project id and write_key (inside API key button) and insert into:
Navigate to Victorops, head to the webhooks view and add a new webhook. Add that url to the VictorOps notification field.
We need to make sure content type is set to JSON; then go through payload and add fields relevant to you. (Warning: ALL gives you more data to work with but can be noisy.)
Keen IO → go to Events Explorer under Overview tab and select the Collection that you’re trying to work from. Once data starts flowing from VO on that webhook (ex. Incident-based subscription), that incident will shoot off to Keen IO.
From the Events Explorer, select the Collection and click on “Last 10 Events” to see the most recent 10 incidents.
In the Explorer tab, you can start playing with that data, see what you’ve collected and group / filter that data. The charts are useful but no dashboards makes it hard to get a full systemwide view, which is why we went to DataHero.
DataHero allows you to hook up to Keen IO through a direct integration. Click on the Import or Add Service buttons, click Keen IO and fill in the prompts. Connect with just a few credentials.
All the data from Keen IO will populate into DataHero. From DataHero, you can go to the Charts tab and create a new chart.
Choose to get the data from Keen.io. Create by routing key, organize things into categories or by timings. Add to Dashboard after customizing each chart.
And that, friends, is how you use our outbound webhooks to connect our system with others and create new reporting abilities!