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

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!

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...