Splunk Search

Why does statistics from a tstats change while the search executes and at the end result is not complete?

Amarok
Observer

If I run the below search the statistics output changes while the search is progressing and when the search is completed not all results that was seen during the search is visible. 

| tstats summariesonly=f count from datamodel=Network_Traffic by All_Traffic.app,All_Traffic.src,All_Traffic.dest,All_Traffic.dest_port,All_Traffic.action
| lookup xxxx CIDR AS All_Traffic.src OUTPUT CIDR as cidr_ip2 fullzonename as sourcenetwork ZoneType as sourcezonetype
| lookup xxxx CIDR AS All_Traffic.dest OUTPUT fullzonename as destinationnetwork ZoneType as destinationzonetype
| where (cidrmatch(cidr_ip2,'All_Traffic.src'))
| search sourcezonetype="yyyy" AND destinationzonetype!="*zzzz"
| stats count by sourcenetwork sourcezonetype destinationnetwork destinationzonetype All_Traffic.action

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 ...