Alerting when predicted sales exceed inventory
In this recipe, you will create a scheduled alert type that triggers when predicted sales are expected to exceed the levels of inventory levels on hand. This type of information is key to the perspective of operational intelligence, as by knowing ahead of time that we might be running low on inventory, we have time to order more before we run out.
Getting ready
To step through this recipe, you will need a running Splunk Enterprise server, with the sample data loaded from Chapter 1, Play Time - Getting Data In. You should be familiar with navigating the Splunk user interface and have a good command of the Splunk search language, as you have completed the earlier recipes in this book. You should also have configured the email settings in your Splunk server to enable the delivery of email alerts.
Additionally, this chapter relies on an inventory lookup implemented in the Looking up inventory from an external database recipe in Chapter 7, Enriching...