Reporting

What are the typical problems that are caused because the loadjob command?

nadlurinadluri
Communicator

Hi Splunkers,

Can you let me know what are the issues with loadjob?

Lately, I see that when multiple loadjobs are used in a search through the append command, the results might be inconsistent.
Hence the question, Is loadjob an efficient way of using a cached result and load the data in dashboard faster?

There is a problem with savedsearch. My savedsearch job runs every 15th minute of an hour, and if someone opens the dashboard at that point, it will not take the previous results of the savedsearch but will wait till the current savedsearch executes.

Much appreciate the response!!

Tags (2)
0 Karma

woodcock
Esteemed Legend

The loadjob command allows you to load in the results of any previous run of any search, provided the artifacts have not been reaped, whereas the savedsearch command simply runs the SPL which is contained in another saved search. There is an XML-based way to reference the results of a search's previous run, but I like having it explicitly in the SPL, especially because the drilldown is more clear. I am unaware of any downsides to loadjob; I really like it and use it often.

0 Karma

nadlurinadluri
Communicator

@woodcock thanks for the response!! I am also a regular user of loadjob, but lately I am seeing some issues with the output when I append multiple loadjobs in a single search.

0 Karma

woodcock
Esteemed Legend

You are probably hitting subsearch limits. Try it like this (which is unlimited):

| loadjob ...
| appendpipe [| loadjob ...]
| appendpipe [| loadjob ...]
| appendpipe [| loadjob ...]
| appendpipe [| loadjob ...]
| appendpipe [| loadjob ...]

nadlurinadluri
Communicator

sure, will take a look !!

0 Karma

woodcock
Esteemed Legend

So did it work for you, @nadlurinadluri?

0 Karma

nadlurinadluri
Communicator

@woodcock @somesoni2 @MuS @niketnilay any suggestions please?

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...