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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...