Splunk Search

Why is using loadjob command (using sid) slower than create a new search query?

karn
Path Finder

Hello,

 

I created a dashboard with a table and multiple charts. After the table query is finished, I create a token ($job.sid$).

Then, I use this token for the other charts (loadjob command). I noticed that after the table loads completely, the charts begin loading data. Sometimes the charts load quickly, and sometimes they load very slowly.

After changing the charts to use the full query instead, they always load quickly. Why is that? I thought that loading data from the table and using it in the charts would be better.

Labels (2)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

As with any such generic question about Splunk there are many "it depends" factors in the answer.

There are many possible causes for slower response. Most importantly, your environment may be full to the brim with searches and have to wait for a free slot for a search. Or your user's role might have hit their job concurrency limitations. Or (I assume it's not your case if you're spawning the search from the same dashboard you're later trying to use it from but it's a general answer) you might be doing loadjob from the SHC member which doesn't have the artifacts from the previously run search and they have to be replicated from another member.

There is a lot going on underneath 🙂

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

As with any such generic question about Splunk there are many "it depends" factors in the answer.

There are many possible causes for slower response. Most importantly, your environment may be full to the brim with searches and have to wait for a free slot for a search. Or your user's role might have hit their job concurrency limitations. Or (I assume it's not your case if you're spawning the search from the same dashboard you're later trying to use it from but it's a general answer) you might be doing loadjob from the SHC member which doesn't have the artifacts from the previously run search and they have to be replicated from another member.

There is a lot going on underneath 🙂

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!

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...

What's New in Splunk Enterprise Security 8.8 and Beyond

Threats move at machine speed. Keeping up should not depend on having the biggest budget, the largest team, or ...