Search Reference

 


appendpipe

appendpipe

Synopsis

Appends the result of the subpipeline applied to the current result set to results.

Syntax

appendpipe [run_in_preview=<bool>] [<subpipeline>]

Arguments

run_in_preview
Syntax: run_in_preview=T|F
Description: Specify whether or not to run the command in preview mode. Defaults to T.

Examples

Example 1: Append subtotals for each action across all users.

index=_audit | stats count by action user | appendpipe [stats sum(count) as count by action | eval user = "ALL USERS"] | sort action

See also

append, appendcols, join, set

Answers

Have questions? Visit Splunk Answers and see what questions and answers the Splunk community has using the appendpipe command.

This documentation applies to the following versions of Splunk: 4.2 , 4.2.1 , 4.2.2 , 4.2.3 , 4.2.4 , 4.2.5 , 4.3 , 4.3.1 , 4.3.2 , 4.3.3 , 4.3.4 , 4.3.5 , 4.3.6 , 5.0 , 5.0.1 , 5.0.2 , 5.0.3 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!