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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...