Splunk Search

Macro with tsats query returns no results.

jscraig2006
Communicator

I've created several macros with a tstat query. when running the macro through the UI, no results are displayed. When I run the tstat through the UI, i get results. I do not have a pipe in front of the query in the macro. Permissions are set to Global for the macro. My Splunk infrastructure is distributed with clustered search peers. Is it possible that the macros are not being expanded and the bundles are not being replicated to the peers?

0 Karma
1 Solution

jscraig2006
Communicator

I always seem to answer my own questions. since macro tstat commands do not start with a | i needed to add it before the macro name in the UI. | macro_name.

View solution in original post

0 Karma

jscraig2006
Communicator

I always seem to answer my own questions. since macro tstat commands do not start with a | i needed to add it before the macro name in the UI. | macro_name.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...