Skip to main content
 
 
Splunk Lantern

Monitoring the availability of online storefronts

 

As a service owner responsible for your company's online storefront, you need to identify and respond to availability issues. You also want to drive operational optimization and excellence within your organization to improve mean-time-to-detect (MTTD) and mean-time-to-respond (MTTR).

If your company’s website becomes unavailable, your customers could look to other vendors to provide them with the goods they want to purchase. This could cause lost revenue to your competitors.

In general, you need to know:

  • How do we quickly identify when the application is unavailable? (MTTD)
  • How do we remediate the issue and get the application back up as quickly as possible? (MTTR)

How to use Splunk software for this use case

An uptime test uses the curl library to make a request to a specified URL and monitors the URL’s response time and response code. Unlike browser tests, uptime tests do not parse HTML, load images, or run JavaScript.

There are two types of uptime tests. See HTTP Test and Port Test in Splunk Docs for more information about each of these test types.

Uptime tests record the following metrics:

  • Response time
  • DNS time
  • Time to first byte

Your team decides to record and test a simple Splunk Synthetic Monitoring uptime test to identify when the service is unavailable, and provide the appropriate notification with a response code and traceroute.

  1. In Splunk Observability Cloud, click Synthetics in the left navigation, then Add new test > Uptime Test > HTTP Test.

    image4.png

  2. Configure a basic uptime check: 
    1. Enter the check Name (typically the application name).
    2. Enter the URL.
    3. Toggle Active to On.

      image2.png

  3. Select the Locations and Frequency to run the tests. 

    image1.png

  4. Click Create detector to set up the alert when the application is unavailable. 

    image5.png

  5. Configure the detector:
    1. Set Alert on Run Duration.
    2. Adjust the alert details to meet your criteria.
    3. Add Recipients (Email, Team, or Webhook) for notifications.
    4. Click Activate.

      unnamed.gif

  6. Click to Submit the test.

unnamed (88).png

Now when an alert threshold has been breached, you will be notified that the application is unavailable and you can take appropriate action to resolve. 

image6.png

Next steps

Still having trouble? Splunk has many resources available to help get you back on track.

  • Splunk AnswersAsk your question to the Splunk Community, which has provided over 50,000 user solutions to date.
  • Splunk Customer Support: Contact Splunk to discuss your environment and receive customer support.
  • Splunk Observability Training Courses: Comprehensive Splunk training to fully unlock the power of Splunk Observability Cloud.
  • Splunk OnDemand Services: Use these credit-based services for direct access to Splunk technical consultants with a variety of technical services from a pre-defined catalog. Most customers have OnDemand Services per their license support plan. Engage the ODS team at ondemand@splunk.com if you require assistance.