Knowledge Management

updating lookup file

hmrabet2
Observer

Is there a way up populate contents of a lookupfile such such as srcip and destip obtained from another source currently not feeding in to splunk? im wanting to do this from the splunk search box or dashboard input box?

Tags (1)
0 Karma

nickhills
Ultra Champion

I think what your asking is:

Can i configure a lookup file in
Splunk, and then update the lookup
file from an external source/process?

In which case, - yes you can. The lookup file is read each time the lookup is invoked, so you can update it outside of splunk, and it will read the latest file every time.

(Distributed environments are a bit more complicated, so it may take a few seconds for all the peers to get the latest copy)

If my comment helps, please give it a thumbs up!
0 Karma

somesoni2
Revered Legend

How and in what format you're getting your data (srcip and destip) form your other source? If data is not in your Splunk instance, you'd have to find a way to get them in. Once they're in, you could use a Splunk which will manipulate and update your lookup data and use outputlookup command to overwrite/update it.

0 Karma

Yunagi
Communicator

Check out the outputlookup command.

0 Karma

harsmarvania57
Ultra Champion
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...