Splunk Enterprise

The statistical results are incorrect

hnzhaodefu
Loves-to-Learn Lots

When you call SPL through the API, you occasionally get an inaccurate result from the execution.Query statistics return a smaller result value.

 

Looking at the SPL execution audit log, no execution process exceptions were found.

 

#spl #

index=trade_successful_events trade_code IN( 6234,2205,2206,2207,2208,2502) earliest=@d|dedup trade_number | stats count | append [search index=hnb_bdp sourcetype=bdp_cbp_zjl TRAN_TIME=* earliest=@d|stats count]
|stats sum(count) as count

Labels (1)
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 ...