Splunk Observability Cloud

Splunk scheduled browser tests

julianpmcaf
Loves-to-Learn Lots

Hi, 

I was wondering if it was in any way possible to run scheduled browser tests on the splunk observability platform. I need tests to run from 2pm - 5pm however I can't seem to find a way to have them run during only those times. 

0 Karma

bishida
Splunk Employee
Splunk Employee

Hi,

There isn't currently a way to do this in the UI. You could accomplish this by using the API to toggle the test from "active" to true or false based on your schedule and use something like cron to manage the schedule. Here's an example curl command to the API to pause a test:

curl -X PUT "https://api.<YOUR REALM>.signalfx.com/v2/synthetics/tests/browser/<YOUR TEST ID>" -H "Content-Type: application/json" -H "X-SF-TOKEN: <YOUR API TOKEN>" -d '{"test": {"active": false}}'

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...