Monitoring Splunk

lookup table field update

raomu
Explorer

Hello,

I have a lookup with 3 fields "Hostname" "IP" "Status" ( Status is by default set with the value "Non-Active")

Hostname IP Status
AA 10.x.x.x Non-Active

BB 10.x.x.x Non-Active

CC 10.x.x.x Non-Active

Now I did a search using lookup to find what all servers are currently reporting to Splunk :

Result :

Host reporting to Spunk

AA

CC

Based on the result I want to update the value of field (Status as "Active") in existing lookup

So the result I am expecting :

lookup table looks now :

Hostname IP Status
AA 10.x.x.x Active

BB 10.x.x.x Non-Active

CC 10.x.x.x Active

Tags (1)
0 Karma

valiquet
Contributor

|eval Status=Active | join type=left [|inputlookup table] |outputlookup

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...