All Apps and Add-ons

How to join the multiple database using SQL in Splunk

wongan3
Engager

Hi, how to join the multiple database using SQL in Splunk? Also, i would like to search in between 2 database and tables by comparing the fields. Thanks.

Tags (1)
0 Karma

pmdba
Builder

If you haven't already figured this out, from within Splunk you will need separate connections (and hence separate SQL queries) for each database. You would then have to use a Splunk search (not SQL) to compare the indexed results. There is no way that I am aware of to have a single SQL query run against two databases without taking advantage of a DB-to-DB server-to-server link.

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...