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!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...