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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...