Splunk Search

tstats in macro without pipe

splunkreal
Motivator

Hello,

is it normal that tstats must be without pipe | to run in a macro?

The macro is scheduled.

Thanks.

* If this helps, please upvote or accept solution if it solved *
0 Karma
1 Solution

elliotproebstel
Champion

It is normal (expected behavior) that a macro cannot start with a pipe, regardless of whether it's used in a scheduled search or an ad-hoc search.

View solution in original post

elliotproebstel
Champion

It is normal (expected behavior) that a macro cannot start with a pipe, regardless of whether it's used in a scheduled search or an ad-hoc search.

Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...