Splunk Search

How can I share a lookup script with other apps?

jameshgibson
Path Finder

I have a lookup script that is placed in my apps bin folder. How can I use this external lookup from other apps?

Whenever I try despite setting the lookups sharing to global I get the message lookup script not found. When running the lookup in the app with the script it works fine though.

1 Solution

dwaddle
SplunkTrust
SplunkTrust

I ran into the same problem. Add to your default.meta file

[transforms]
export = system

[searchscripts]
access = read : [ * ], write : [ admin ]
export = system

The searchscripts part is probably the most crucial for your problem-at-hand.

View solution in original post

earlhelms
Path Finder

Thank you

 

0 Karma

dwaddle
SplunkTrust
SplunkTrust

I ran into the same problem. Add to your default.meta file

[transforms]
export = system

[searchscripts]
access = read : [ * ], write : [ admin ]
export = system

The searchscripts part is probably the most crucial for your problem-at-hand.

jameshgibson
Path Finder

thanks works perfectly

0 Karma
Get Updates on the Splunk Community!

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 at Splunk .conf24 ...

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

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...