Reporting

Why does the appendpipe command work, but I get an error with append in multiple saved searches using the loadjob command?

ishaanshekhar
Communicator

Hi,

I have a saved search which is working fine and gives fine results using |loadjob command.

However, when I use append command for the same saved search, I get an error.

Interestingly, when I use appendpipe command instead of append, it works fine.

Curious to know why append doesn't work and appendpipe does when working with multiple saved searches?

alt text

0 Karma

somesoni2
Revered Legend

Who is the owner of the search? Could you try to change the owner of the saved search to be 'nobody' (need to update local.meta file under the application search for this saved search.), run the search again and try the search.

0 Karma

woodcock
Esteemed Legend

You actually are experiencing the same error it is just that appendpipe does not pass the error back to you (hides it) whereas append does indicate the error back to the user. IMHO, this is a bug in appendpipe and somebody (I vote for you) should open a support case.

ishaanshekhar
Communicator

@woodcock
But appendpipe is giving the correct results (I appendpiped different savedsearches to validate).
I was thinking there is some issue with append instead. This is because I am not trying to do anything fancy. Just appending results of multiple savedsearches, which are working fine when run individually.

If my approach of appendpipe is not correct, what other command/way should I follow instead?

Thanks
Ishaan

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...