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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...