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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...