Splunk Search

How to generate a lookup file with outputlookup in a specific app?

vishal_bandavad
Explorer

I am using | dbquery to get the lookup details and outputlookup to generate the lookup file, but it always generates under different app (either system/lookup or app/dbx/lookup). I am trying to run the query in a search from a different app, say SampleApp.

Please let me how I can create the lookup under SampleApp? or is there any config file I need to change or any command to move the file under a certain app?

0 Karma

sanjay_shrestha
Contributor
0 Karma

sanjay_shrestha
Contributor

Running your query to generate lookup fine under SampleApp might help.

0 Karma

vishal_bandavad
Explorer

I tried , but it is creating $SPLUNK_HOME$/etc/system/lookups/ instead of $SPLUNK_HOME$/etc/apps/SampleApp/lookups

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...