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!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...