Splunk Search

Scripted lookup or command?

vbumgarn
Path Finder

Which is more efficient, a scripted lookup or a command?

I've written a piece of code as both, and the command is certainly easier to write, and I would never want to wire this particular lookup to run automatically, so unless the lookup is more efficient, I see no reason to not write the code as a command.

Thoughts?

0 Karma

Kate_Lawrence-G
Contributor
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...