Splunk Search

Tags VS lookup tables? - performance wise

gooza
Communicator

Hi,
I'd like to add knowledge to our splunk data and divide ips or computers to different groups like test/production and LAN/DMZ ,
What is the best way to do that with less impact to the search performance?
should I add Tags or is it best to keep different lookup tables ?

Thanks

Tags (2)
1 Solution

rtadams89
Contributor

The permissions on tags are difficult to manage in bulk (currently). So if you plan to go through and tag servers as "DMZ", etc, and then expect to be able to quickly allow anyone to search on those tags, you may have a problem. The lookup table would be much easier to maintain. However, from a strictly performance perspective, the tags should be faster when searching.

View solution in original post

Damien_Dallimor
Ultra Champion

Just thinking of one such example using lookups...a Splunk client that only had a single Splunk environment for all dev/test/qual/prod data etc... I used a lookup to map hostnames to other host meta data such as whether the host was in a "DEV" environment or "PROD" environment , SLA sev levels, even geo info etc.... With this enriched lookup data in the search results, I was able, for example, to add a selector module to the views to choose which environment you want to look at. Likewise for alerts, I could narrow the scheduled search to only alert on PROD hosts.Works perfectly well and performs good.

gooza
Communicator

OK , thanks Damien, I'll give the lookup tables a try...

0 Karma

rtadams89
Contributor

The permissions on tags are difficult to manage in bulk (currently). So if you plan to go through and tag servers as "DMZ", etc, and then expect to be able to quickly allow anyone to search on those tags, you may have a problem. The lookup table would be much easier to maintain. However, from a strictly performance perspective, the tags should be faster when searching.

gooza
Communicator

Thanks , I'll give the lookup tables a try.

0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...