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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...