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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...