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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...