Skip to main content
 
 
Splunk Lantern

Monitoring API transactions

 

Your software uses APIs to connect services and pass data back and forth between uniquely managed systems, but that connectivity and interdependence creates vulnerabilities. As a site owner, you've decided that the benefit of relying on the third-party service outweighs the risk of these types of failures. However, in order to accurately assess the risk and have visibility into the impact of these services over time, it’s crucial that you monitor the part of your site’s user flow that relies on an API. You want to build out robust and flexible performance tests for your API transactions.

This feature is only available in the Rigor platform. Rigor will reach end of life on Feb 28, 2025. For more information, see the Frequently Asked Questions. Synthetics users (regardless of platform) can still create synthetic tests and pull the results into custom dashboard charts to monitor their performance.

How to use Splunk software for this use case

Depending on what information you have available, you might find it useful to identify some or all of the following: 

Next steps

These API checks are only a few of the many ways you can implement robust monitoring for an API. You may also want to consider:

  • Writing performance tests in a way that allows a system to call an API and not receive data. When writing code with lots of local calls, a wrapper that calls to an external API often goes unnoticed with the context of an application. If your test is designed to alert when no data is present, this will help make sure you don’t miss critical errors. 
  • Building a synthetic, external monitor to test pulling data from your own API and put alerting in place so that your engineers know right away if there’s any type of issue that might put you close to breaching your service level agreements.
  • Testing availability. Is this API endpoint up? Is it returning an error?
  • Testing response time. How quickly is the API returning responses? Is the response time degrading over time? Is the response time worse in production than in pre-production?
  • Testing multi-step processes. Can you successfully save and reuse a variable from this API? Does authentication work as expected? Can you complete a transaction with data from this API?

These additional Splunk resources might also help you understand and implement this use case:

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-Inquires@splunk.com if you require assistance.