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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...