Reporting

How to send an email when a new dashboard is created?

rachelnarios
New Member

Is there a way to alert users that a new dashboard has been created via email?
Meaning, every time I create a new board userxyz gets an email with a link to the board.

0 Karma

aberkow
Builder

I can think of a way using a rest call to get existing views, and then having an "exclusion list" that represents those that have already been alerted for. Unfortunately I couldn't find a "created" field on these dashboards so someone else might know, but I kind of like the idea of having a csv of known "alerted" dashboards. Example:

| rest /services/data/ui/views  
| search isDashboard=1 NOT 
    [ | inputlookup knownDashboardsList.csv
    | table title]

Essentially, make a rest call to obtain all dashboards, and search those that aren't in some csv that you populate when you've alerted on a new dashboard. Run this once a week or so, and then schedule a task to make sure you update the csv whenever it triggers!

Hope this helps!

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 ...