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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...