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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...