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!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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