Splunk Search

Dynamic Lookup - How to do addition & removal Of entries?

pagnihot
Path Finder

Dear Team

I have a splunk lookup with two fields, username and location.

The lookup is populated every time the location is US.

However, I want to see the location keeps on changing. So, I would like to write a query, which first checks if the username exists in the lookup and if it does, match the location in the event field to the lookup field.

If the location from event field doesn't match with that of lookup field, it should remove that username from the lookup. 

Any ideas or suggestions would be appreciated.

 

Labels (1)
Tags (1)
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 ...