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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...