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 🙂 *
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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...