All Apps and Add-ons

splunk dbconnect how to obtain a list of all database connections

vincenp2
New Member

I have been asked to provide a list of all database connections enabled in db connect - can anyone supply a command to output this information so it can then be sent in csv format perhaps?
thanks

0 Karma

p_gurav
Champion

Hi vincenp2,

You can try using rest command :
| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/

arrangineni
Path Finder

@p_gurav How can we pull the same for identities?
This works for connections : | rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/

0 Karma

akif_koc
Loves-to-Learn
| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/configs/conf-identities
0 Karma

vincenp2
New Member

Hi - thanks for the quick response - unfortunately nothing gets returned using the command you supplied - should I be substituting some parts of the command to match my environment?

0 Karma

p_gurav
Champion

Yes you have to modify it according to your environment. Try this one:

| rest splunk_server=local /servicesNS/nobody/splunk_app_db_connect/db_connect/connections
0 Karma
Get Updates on the Splunk Community!

Detecting Brute Force Account Takeover Fraud with Splunk

This article is the second in a three-part series exploring advanced fraud detection techniques using Splunk. ...

Buttercup Games: Further Dashboarding Techniques (Part 9)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games: Further Dashboarding Techniques (Part 8)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...