Knowledge Management

lookup use analysis

mjones414
Contributor

I'm trying to do some lookup table rationalization because we have some sources changing that we're pulling into lookup tables and I'll need to find new sources for some of my data types.  I'm trying to find a better way to get stats on fields used for lookup and inputlookup matches as well as output results, so I have a better way to weight the criticality of certain data sources in my org and push for better data coverage at the source for important fields.    The way I've done this so far is through | rest for saved searches and macros followed by an unholy amount of regexes to capture all of the worry-free use of cases and conditions and in-line renames using AS and WHERE.   I haven't even started with views... There simply must be a better way.  

Is there anything in splunk_introspection that would basically count the equivalent of sum(count) of a particular lookup field by any saved search or macro?

Labels (1)
0 Karma

gjanders
SplunkTrust
SplunkTrust

While your current method will work, why not look in _audit?

The _audit index records searches, you will miss (in 8.0.4.1 and earlier) the lookup if the lookup name exists within a macro, but you should capture the majority.

And if a macro does the lookup you could just check for the macro usage...

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...