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!

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