Splunk Search

Using loadjob in a packaged app

splunked38
Communicator

We're creating an app which uses loadjob, however loadjob requires 

savedsearch="<owner>:<app>:<saved search name>"


In the app, the other fields are ok but the owner would need to change as you move from testing the app (with a named account) to nobody within the packaged app

Is there a way to use loadjob within an app without hardcoding owner:app:savedsearch , use dynamic variables or avoid loadjob altogether with an alternative?

BTW: why loadjob? long running report and it is running as a subsearch using a different time range to main search making this a scheduled report

Labels (1)
Tags (2)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Federated Search for Snowflake Is Now Generally Available on Splunk Cloud Platform

Unlocking Data-In-Place Search Across Splunk and Snowflake  Enterprise data is increasingly distributed across ...

Help Us Build Better Splunk Regex Puzzles (And Win Prizes!)

If you’ve spent any time in the Splunk Community Slack, you’ve likely seen our resident Splunk Trust ...

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...