Splunk Search

Lookups vs Events Questions

user4455
Explorer

I'm trying to understand what, exactly, lookup tables are. It seems like getwatchlist just populates Splunk like any other data import by outputting csv formatted data into Splunk. I didn't see anything in the code that mentioned lookup tables or even indexes.

So, the command is run, data changed to csv, and sent to Splunk. That's where I get a bit confused. What makes it a lookup table? Looking at the source, there is no transforms.conf, so I'm not even sure how the lookup table name is set. It would seem to be the Profile Name from the getwatchlists.conf.

Thanks!

Tags (1)
0 Karma

esix_splunk
Splunk Employee
Splunk Employee

Lookups can also be stored in the KVStore now a days. These aren't static on disk, per say, as csv lookups. However, they function in a near similar manner, but depending on your lookups, it can be better for performance (large lookups, better performance.)

http://docs.splunk.com/Documentation/Splunk/6.3.3/Knowledge/ConfigureKVstorelookups

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Lookup tables are static table, in CSV format, which enrich your search results by matching field(s) from your search results and adding corresponding fields from the lookup table. They are available in lookups folder under your app or under etc/system. They don't required any .conf entry. More details here.
http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Addfieldsfromexternaldatasources

Get Updates on the Splunk Community!

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...