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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...