Getting Data In

DBConnect question

wdeoliveira_spl
Splunk Employee
Splunk Employee

This is a questions comming from a current Splunk customer on DBConnect.

They have an in house component developed on .NET and .Java to access their internal databases. This component reads a DB connection string with a token field. After that the same component translates this token into a DB password in order to establish a connection.

DBConnect uses a Java bridge written on JDBC. The customer is wondering if there is any way to run their component before the java bridge and the read the connection string to connect to the database.

How could this be done?

Any insights or help here greatly apreaciated.

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

It depends entirely in the details of how their component is actually built. For example, if they had implemented their component as a JDBC driver (perhaps simply as a wrapper around the standard JDBC driver), then Splunk DBConnect could simply be configured to use that JDBC driver in place of a standard one.

It would be helpful if we knew more exactly how this component actually interfaced with other systems.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Then probably not, as it sounds like it requires code to specifically be written to use the class, and does not use a standard known interface.

0 Karma

wdeoliveira_spl
Splunk Employee
Splunk Employee

The comonent is simply a Java class that receives parameters (among them a token) and triggers a Java Connection (java.sql.Connection). Does it help?

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...