Splunk Dev

Can we connect the spark sql using token mechanism in Splunk DB Connect app?

astik
New Member


Rather than using the creds, I want to use tokens in Splunk DB Connect to get the data from Spark database.

Q1: Can we change the Auth Mech to token based, while creating the identities or connections in Splunk DB Connect app?

Q2: Can we put authentication parameters into the JDBC url itself?

The possible JDBC url for connecting to the database.

 

jdbc:spark://<hostname>:<port>/<database>;transportMode=<transport_mode>;ssl=1;httpPath=http;AuthMech=3;UID=token;PWD=<token>

 

 

Some reference Link for Simba driver: https://www.simba.com/products/Spark/doc/JDBC_InstallGuide/content/jdbc/options/authmech.htm 

Labels (1)
Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

DB Connect currently supports only credential-based authentication.  Go to https://ideas.splunk.com to suggest it support token-based authentication.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...