All Apps and Add-ons

How to set the condition for output.

rajhemant26
New Member

Hello everyone.

Want to display the output only for the time which crosses 18 months (earliest time)

Tags (1)
0 Karma

harishalipaka
Motivator

hi @rajhemant26

try like this

| makeresults
 | eval Date="12/08", shiftA=102, shiftB=10, shiftC=200
 | append 
     [| makeresults
      | eval  Date="25/08", shiftA=240, shiftB=102, shiftC=52]
 | table Date shift*
 | eval Max=0
 | foreach shift*
     [eval Max=case(Max>=<<FIELD>>,Max,true(),<<FIELD>>)] |sort - Max |head 1
Thanks
Harish
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...