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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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