All Apps and Add-ons

Does Slack Notification Alert app work with Splunk Cloud?

andyscoggins
New Member

I had the Slack Notification Alert app installed in my instance of Splunk Cloud by the support team, as they require. I added the Webhook URL in Setup Slack Alerts.

When I run sendalert manually the message shows up in #mychannel:

search blahblahblah | sendalert slack param.channel="#mychannel" param.message="Found blahblahblah"

I set up a scheduled alert, added Slack as an action, and added #mychannel, but I never get the message and these errors are in splunkd.log (sensitive info removed):

04-04-2018 17:00:03.252 +0000 ERROR SearchScheduler - Error in 'sendalert' command: Alert script returned error code 5., search='sendalert slack results_file="REMOVED" results_link="REMOVED"'

04-04-2018 17:00:03.247 +0000 WARN sendmodalert - action=slack - Alert action script returned error code=5

04-04-2018 17:00:03.245 +0000 FATAL sendmodalert - action=slack STDERR - Invalid webhook URL specified. The URL must use HTTPS.

Any ideas on what may be causing the problem?

Thanks for any help.

0 Karma
1 Solution

Azeemering
Builder

No this is not compatible on Splunk Cloud (yet)
This version is not yet available for Splunk Cloud.

See: https://splunkbase.splunk.com/app/2878/#/details

View solution in original post

0 Karma

Azeemering
Builder

No this is not compatible on Splunk Cloud (yet)
This version is not yet available for Splunk Cloud.

See: https://splunkbase.splunk.com/app/2878/#/details

0 Karma

leonards1
Explorer

Confused here..... Splunkbase shows this as compatible and I have had this running successfully on Splunk Cloud for the past year or so. We are currently at v1.0.1, although I notice that Splunkbase shows a v2.0.3 available.

0 Karma

andyscoggins
New Member

That's interesting. I couldn't get v1.0.1 to work at all. I found a workaround, but may do more investigating if it's working for others.

0 Karma

andyscoggins
New Member

Thank you for confirming.

It seems that most of the things that I want to do aren't compatible with Splunk Cloud.

0 Karma

ziegfried
Influencer

Version 1.1.0 should be cloud compatible.

0 Karma

ziegfried
Influencer

I assume this is version 1.1.0 of the app?

You could try to increase the logger level for alert actions temporarily to see more information in the logs:

Navigate to "Settings" -> "Server settings" -> "Server logging"
Search for the log channel "sendmodalert"
Select logging level "DEBUG"
NOTE: This will increase cause detailed logs to be produced for all alert actions and might have an
inpact on system performance. It is not recommended to do this on a production system.

0 Karma

andyscoggins
New Member

Thanks, but Splunk Cloud doesn't allow this level of debugging.

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...