All Apps and Add-ons

Splunk Custom Action, Results Inline

jeffreyjewitt
Explorer

Hi:
I've recently setup the pagerduty and hipchat integrations for scheduled searches to send data to these 2 services.
I have come across an issue, where with the hipchat integration, people still want to receive an email alert, but they also want the results to be posted to a hipchat room.
I've done testing, and can see that for the hipchat integration, once per result is the proper way to do this, but this won't work for the email alert on the same scheduled search, once per search is the proper action for that, so that people aren't being spammed by multiple emails.
Is there anyway to pass the inline table of results that the email has, to custom notifications, such as hipchat?
We don't want to setup 2 scheduled searches that do the exact same thing, 1 for email, and 1 for hipchat, as that would be a waste of resources.

Currently, with 'once per search' selected, the hipchat room only receives the first event, and nothing else, the email receives all of the events.
Thanks
-Jeff

amalkapuram
New Member

How did you get the app working? Please help. What was the URL Base?

0 Karma

woodcock
Esteemed Legend

You can call sendemail inside of the search itself:
http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Sendemail

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...