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!

Synthetic Monitoring: Not your Grandma’s Polyester! Tech Talk: DevOps Edition

Register today and join TekStream on Tuesday, February 28 at 11am PT/2pm ET for a demonstration of Splunk ...

Instrumenting Java Websocket Messaging

Instrumenting Java Websocket MessagingThis article is a code-based discussion of passing OpenTelemetry trace ...

Announcing General Availability of Splunk Incident Intelligence!

Digital transformation is real! Across industries, companies big and small are going through rapid digital ...