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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...