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!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...