All Apps and Add-ons

How can I connect multiple databases in Splunk DBConnect?

saibal6
Path Finder

I have installed and configured Splunk DB_Connect in my Splunk instance, and connected one database with it and it's working successfully.

But I want to connect multiple database server without creating multiple db connections in the Splunk DB_Connect. Is this possible?
Are there any limitations of database server connections?

Please suggest to me the best way to connect multiple database servers without creating multiple db connections and please attach a link also.

0 Karma

DalJeanis
Legend

I'm not sure what your reasoning is here. Why would you want to juggle all that? Your DBConnect will need, for each target database, proper connection strings as well as proper SQL queries to retrieve data. Each database will have distinct data and distinct queries.

Even if you are, for example, querying production and UAT version s of the same database, you are much better off procedurally setting those up as separate connections, so that you can make sure they each get ingested into the appropriate indexes.

adonio
Ultra Champion

imho you have to create a connection for each database.
how can you connect to multiple servers (with multiple unique databases in them) with a single connection?
would love to learn i am mistaking here, but to your first question, the answer in my opinion is: "no".
as for the second question regarding limitations of db server connections, do you mean from the splunk DB Connect app side?? or from the db server side?
as for your suggestion request, like mentioned above, would love to learn i am wrong here, but i dont think there is a way.
hope it helps

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...