All Apps and Add-ons

Splunk Can't find SessionKey

jmcclure
Explorer

I am running the sendresults app, which is a python script that uses the Splunk email abilities to email individual users from results. It was working fine and then today I noticed the emails were not going out. When I ran the report manually, I was getting this error

command="sendresults", Error : Traceback: Traceback (most recent call last): File "/opt/splunk/etc/apps/operational/bin/sendresults.py", line 183, in getEmailAlertActions(argvals, settings) File "/opt/splunk/etc/apps/operational/bin/sendresults.py", line 49, in getEmailAlertActions sessionKey = settings['sessionKey'] KeyError: 'sessionKey'

Anyone run into this before?

Tags (1)
0 Karma

jmcclure
Explorer

Was able to find the issue...you have to update the commands.conf file for passAuth=true

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...