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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...