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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...