All Apps and Add-ons

Splunk Add-on for Kafka: "CredException: Get session key failed" setting up a heavy forwarder to forward data to Splunk Cloud

hung_ngo
New Member

Hello,

I'm setting up a Heavy Forwarder to forward data from a Kafka topic to Splunk Cloud using Splunk add-on for Kafka. However, I'm currently encountering credential issue:

ERROR pid=23104 tid=MainThread file=kafka_config.py:_do_send:545 | Failed to dispatch task to forwarder https://input-prd-xxxxxx.cloud.splunk.com:9997
...
Splunk_TA_kafka/bin/splunktalib/credentials.py", line 77, in get_session_key
    raise CredException("Get session key failed.")
CredException: Get session key failed.

The credential that provided was the one used to log into the Heavy Forwarder (the local Splunk Instance).

Perhaps, I have set things up incorrectly somewhere. I find the official documentation of the Addon is quite confusing with a not so clear instructions. Any step by step instruction would be greatly appreciated.

Thank you.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...