Reporting

i have two macros if those values are not macthing(a!=b) then i have to schedule another search query , how it is possible??

ajayabburi508
Path Finder

i have two macros

if those values are not macthing(a!=b) then i have to schedule another search query , how it is possible??

example:

macro a is 2 (a=2)

macro b is 3 (b=3)

if a!=b then we have to schedule below query how it is possible in splunk ?

| makeresults | eval x=3+3 ,y=6+6 | table x,y

0 Karma

DalJeanis
SplunkTrust
SplunkTrust

What are you really trying to do?

Macros only run when a search is run, and a search is scheduled when someone creates the schedule, so your question seems to be somewhat confusing.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...