All Apps and Add-ons

splunk DB connect

VijaySrrie
Builder

Hi,

How to connect the postgresql data to DB connect?
What are the details to be collected from the user?

Thanks,
Vijay Sri S

Labels (2)
Tags (1)
0 Karma
1 Solution

codebuilder
Influencer

Install Splunk DB Connect.
Download and install the PostgreSQL drivers (and update permissions/ownerships).
Restart Splunk.
Configure the DB connection settings.

It's a lot more straightforward / easier than it seems. It's a great tool and super easy to install/configure/use.

Good documentation links describing in more detail here:
https://docs.splunk.com/Documentation/DBX/3.3.1/DeployDBX/AboutSplunkDBConnect
https://docs.splunk.com/Documentation/DBX/3.3.1/DeployDBX/Installdatabasedrivers
https://docs.splunk.com/Documentation/DBX/3.3.1/DeployDBX/ConfigureDBConnectsettings

----
An upvote would be appreciated and Accept Solution if it helps!

View solution in original post

0 Karma

codebuilder
Influencer

Install Splunk DB Connect.
Download and install the PostgreSQL drivers (and update permissions/ownerships).
Restart Splunk.
Configure the DB connection settings.

It's a lot more straightforward / easier than it seems. It's a great tool and super easy to install/configure/use.

Good documentation links describing in more detail here:
https://docs.splunk.com/Documentation/DBX/3.3.1/DeployDBX/AboutSplunkDBConnect
https://docs.splunk.com/Documentation/DBX/3.3.1/DeployDBX/Installdatabasedrivers
https://docs.splunk.com/Documentation/DBX/3.3.1/DeployDBX/ConfigureDBConnectsettings

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

VijaySrrie
Builder

Hi @codebuilder

I have DB connect app installed--> postgresql driver installed --> I got the hostname, userid, password, port, JDBC URL, SQL query from the customer. In my test instance I have created an identity and while creating a connection with the details provided by the user, I got below error.

Database connection is invalid

[Amazon]JDBC Null Pointer Exception.

0 Karma

VijaySrrie
Builder

It worked for different hostname

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...