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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Federated Search for Snowflake Is Now Generally Available on Splunk Cloud Platform

Splunk is excited to announce the General Availability (GA) of Federated Search for ...

Help Us Build Better Splunk Regex Puzzles (And Win Prizes!)

If you’ve spent any time in the Splunk Community Slack, you’ve likely seen our resident Splunk Trust ...

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...