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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...