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
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

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 & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...