All Apps and Add-ons

Using SQL Server table for Lookups

dbuchanan46
New Member

Hello,

I've created a DB connection to a SQL Server database that contains client names associated with client IDs we have in our Splunk logs. I would like to use this connection to pull Client names for our Splunk reports, but all information I see regarding the use of lookup tables includes using Python scripts. Is there an easier way than adding scripts?

Thank You

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

DB-backed lookups are part of the DB Connect app: http://apps.splunk.com/app/958/

araitz
Splunk Employee
Splunk Employee

To add to martin's answer, I think the best way to use db connect 1.x for lookups is to:

1) Create a db input that indexes the information into Splunk
2) Create a standard CSV-based lookup from the information indexed in step 1
3) Apply the lookup to the hosts/sources/sourcetypes that you want to annotate with the lookup information.

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...