Splunk Search

Find what is using a lookup table.

JJCO
Engager

I've got a question about lookup tables, and how to audit them.

I have a rather large lookup table that's being recreated daily from a scheduled correlation search.
I don't know if any other correlation searches or anything is actually using that lookup table.

I wanted to see if there was a way to audit it's use so I can delete the table, and remove the correlation search if needed.

Labels (1)
Tags (2)
0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Hi @JJCO 

To audit the usage of a lookup table in Splunk, you can search the search logs to find any queries using it.

Use the following SPL to search for references to your lookup table:

index=_audit action=search info=completed search="*your_lookup_table_name*"

Replace your_lookup_table_name with the actual name of your lookup table.

This will show you any search queries that include your lookup table, indicating its usage.

For more details, you can refer to Splunk's documentation on auditing: Audit Logs in Splunk

This should help you determine if the lookup table is being utilized elsewhere.

🌟Did this answer help you? If so, please consider:

  • Adding kudos to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

View solution in original post

livehybrid
SplunkTrust
SplunkTrust

Hi @JJCO 

To audit the usage of a lookup table in Splunk, you can search the search logs to find any queries using it.

Use the following SPL to search for references to your lookup table:

index=_audit action=search info=completed search="*your_lookup_table_name*"

Replace your_lookup_table_name with the actual name of your lookup table.

This will show you any search queries that include your lookup table, indicating its usage.

For more details, you can refer to Splunk's documentation on auditing: Audit Logs in Splunk

This should help you determine if the lookup table is being utilized elsewhere.

🌟Did this answer help you? If so, please consider:

  • Adding kudos to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

isoutamo
SplunkTrust
SplunkTrust
You should remember that there are another way to use that lookup table than just "add" it's name into your search!

It can be used as automatic lookup, via lookup command, input/outputlookup and even DMs can use it. For that reason you need to dig this little bit deeper to get all those usages. I'm not 100% sure if all those are reported into _audit log or not (I expecting that not)? It could even need that you somehow look users' search.log to see how splunk has expanded e.g. automatic lookups etc.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...