Starting with version 4.2, Splunk provides alerting not only by polling and running searches on a scheduled basis but also in real-time. In the previous blog post, I had discussed the benefits of integrating Splunk and OpsGenie. In this post, I'll go over the use case of sending Splunk alerts to iPhone via push notifications as an example. Here are the steps:
Splunk is fast establishing itself as one of the must have tools for IT operations. Organizations use Splunk to consolidate machine data into a single searchable repository. Splunk provides an easy to use interface that allows users to analyze and correlate the collected data. And with the latest release Splunk now has alerting capabilities where alerts can be generated for saved searches in real-time.
OpsGenie leverages Splunk alerting and extends Splunk's capabilities into mobile devices, making operational insights driven from Splunk available to uses even when user are mobile. When Splunk detects an incident that requires attention, OpsGenie notifies the users through multiple notification channels, and enables users to view the alert directly from their mobile devices. Here is how it works:
OpsGenie has a simple Web API to interact with OpsGenie from any programming language that can make web requests. Today, we've released lamp, a command line utility to do the same. Lamp uses OpsGenie Web API under the hood and provides capabilities to create & close alerts, attach files, etc. easily from shell scripts. Lamp is a Java application, hence works on any platform that has a JVM.