Splunk Search

Conditional Macros

Micka108
Engager

Hi,

In view of this answer it is not possible to put a macro in a yew, but is it still valid?

https://community.splunk.com/t5/Splunk-Search/Conditional-Macros/mp/194852

Thank you in advance

Labels (1)
Tags (3)
0 Karma
1 Solution

Micka108
Engager

Problem solved 🙂

My macro

[| makeresults | eval rare=$search$ | return $rare]

View solution in original post

0 Karma

Micka108
Engager

Problem solved 🙂

My macro

[| makeresults | eval rare=$search$ | return $rare]

0 Karma
Get Updates on the Splunk Community!

Splunk Platform | Upgrading your Splunk Deployment to Python 3.9

Splunk initially announced the removal of Python 2 during the release of Splunk Enterprise 8.0.0, aiming to ...

From Product Design to User Insights: Boosting App Developer Identity on Splunkbase

co-authored by Yiyun Zhu & Dan Hosaka Engaging with the Community at .conf24 At .conf24, we revitalized the ...

Detect and Resolve Issues in a Kubernetes Environment

We’ve gone through common problems one can encounter in a Kubernetes environment, their impacts, and the ...