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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...