Reporting

Is it possible to have Splunk send a report email based on an external trigger?

chustar
Path Finder

Is it possible to have have splunk send a report email based on an external trigger?
E.g. A URL that triggers a report to run and send an email with results.

0 Karma

somesoni2
Revered Legend

Here are the steps:

1) create a saved search in Splunk , with a sendemail command at the end.
2) Use method of your choice to kick off this saved search. One sample method is mentioned here.
http://dev.splunk.com/view/SP-CAAADQT
3) Have your external trigger, run the method of step 2.

0 Karma

sanjay_shrestha
Contributor

First you need to create an alert which will look for desired URL and run a script. That script should handle to run your saved search and email the search result.

Get Updates on the Splunk Community!

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

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...