Set up Splunk Synthetic Monitoring

Create detailed tests to monitor the performance of websites, web apps, and resources over time, and proactively alert relevant teams when applications are unresponsive.

Monitor the performance of your web pages and applications by running synthetic Browser, Uptime, and API tests. These tests let you proactively alert the relevant teams when a site or user flow they manage becomes unavailable, as well as report on the performance of a site or user flow over time. Splunk Synthetic Monitoring does not require extensive installation and setup: you can get started by creating your first test directly in the Splunk Synthetic Monitoring user interface.

Get your site ready to run synthetic tests

You might need to add the following settings to your application or webpage to receive traffic from Splunk Synthetic Monitoring.

Allow Splunk Synthetic Monitoring IP addresses

Splunk Synthetic Monitoring runs synthetic tests from a set of dedicated IP addresses. To ensure your internal network or web application firewall (WAF) does not block this traffic, place these IP addresses on your browser or site’s allow list.

See Public locations for the list of Splunk Synthetic Monitoring IP addresses, and then refer to your internal network’s documentation for instructions on how to add them to your allow list.

Exclude Splunk Synthetic Monitoring from analytics

If you use a web analytics tool to monitor traffic on your website or application, you might want to exclude Splunk Synthetic Monitoring IP addresses from being counted as traffic.

To do so, filter Splunk Synthetic Monitoring IP addresses in the settings of your web analytics tool. See Public locations for the list of IP addresses, and then refers to your analytics tool’s documentation for instructions on how to filter them.

Choose a test

The following table outlines which test might work for the scenario you want to monitor.

Test

Workflow you want to monitor

Uptime

  • SLAs on HTTP endpoints

  • Health and response codes of endpoints

Browser test

  • UX data for single pages like a home page, product pages.

  • UX data across different device types and locations desktop, mobile, tablet.

  • multiple step journeys like login and checkout.

  • A / B testing. How does adding or removing a specific third party affect performance.

  • Set performance benchmarks and understand long term trends.

  • Compare performance with industry standards like Google search and web vitals.

  • Use a HAR file to run tests in local developer environments or sites behind a firewall.

  • Upload a HAR file, which contains full response bodies, so that Splunk Synthetic Monitoring can audit the content.

API

  • SLAs on APIs and microservices, understanding the health of the endpoint

  • Latency on APIs and microservices

  • Multiple step API transactions

Set up your first test

After you choose which type of test you want to use, follow these steps to set up your test:

Test

Resources

Uptime

Browser

API

Get audit logs

Use the Synthetics audit API to retrieve audit logs. These logs provide a detailed history of any changes made to Synthetics resources, such as tests, downtime configurations, TOTP tokens, private locations, and more. Audit logs enable you to track every change within your environment for regulatory and compliance needs, and to identify the root cause of performance issues or failures.

(Optional) Integrate with Splunk RUM

Integrate with Splunk RUM so that you can automatically measure Web Vital metrics against your run results. Web vitals capture key metrics that affect user experience and assess the overall performance of your site. For more, see Compare run results to Web Vitals with Splunk RUM.

Continue learning

See Key concepts in Splunk Synthetic Monitoring to learn more about important terms and concepts in Splunk Synthetic Monitoring.