Splunk Enterprise

calculation not working

sarit_s
Communicator

Hello
I have this query:

 

 

sourcetype="billinglog" "Reported to MonitorProcessing successfully"| spath "AdditionalData.EventData.MetricName" | search "AdditionalData.EventData.MetricName"=DepositV2 | rename AdditionalData.EventData.monitorProcessingDto.Country as Country | search AdditionalData.EventData.monitorProcessingDto.FTD="*"
| stats count(AdditionalData.EventData.monitorProcessingDto.FTD=Yes) AS FTDyes | table FTDyes

 

 

FTDyes returns as 0 while if im changing 

 

AdditionalData.EventData.monitorProcessingDto.FTD="*"

 

 

to:

 

AdditionalData.EventData.monitorProcessingDto.FTD="yes"

 

i'm getting result 12
what am i missing ?

thanks

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Have you tried this (not sure about the case of Yes/yes since you have used it inconsistently)

| stats count(eval(AdditionalData.EventData.monitorProcessingDto.FTD="yes")) AS FTDyes
0 Karma

sarit_s
Communicator

Yes. it gives the same results

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...