Splunk Enterprise

DB Connect MSAL4j library

jbanAtSplunk
Communicator

Hi,

How to add MSAL4J.jar to DB_Connect.

I am getting error:

Failed to load MSAL4J Java library for performing ActiveDirectoryServicePrincipal authentication.
Labels (2)
Tags (1)
0 Karma
1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

@jbanAtSplunk - It's not documented anywhere what you are trying to achieve. I would suggest opening a Splunk support ticket with Splunk.

 

I hope this helps!!! Kindly upvote if it does!!

View solution in original post

Tags (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@jbanAtSplunk - Are you trying to do Windows Authentication? That is supported in DB connect by default.

https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Createandmanageidentities 

 

Otherwise, DB Connect only supports putting Java DB driver files inside drivers directory - https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Installdatabasedrivers 

 

I hope this helps!!!!

0 Karma

jbanAtSplunk
Communicator

Hi,

No. 

It's: jdbc:sqlserver://hostname.kusto.windows.net:1433;databaseName=DBName;selectMethod=cursor;encrypt=true;hostNameInCertificate=*.kusto.windows.net;authentication=ActiveDirectoryServicePrincipal;

And I have
aadSecurePrincipalId (clientID)
aadSecurePrincipalSecret

 

In drivers dir I have: mssql-jdbc-12.4.2.jre11.jar

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@jbanAtSplunk - It's not documented anywhere what you are trying to achieve. I would suggest opening a Splunk support ticket with Splunk.

 

I hope this helps!!! Kindly upvote if it does!!

Tags (1)
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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 ...