Splunk Search

How to Fill missing times from stats command

SMM10
Explorer

I am running something like the following.

 

 

 

| bin _time span=1s
| stats count by fuzz

 

 

 

When doing this though I do get gaps where there is no result for some second time frames.  I do need per second data but when doing this I feel I am getting some false data since it is not accounting for the missing seconds. Essentially I want to see how many transactions a second we are posting to specific servers

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @,

you have two solutions:

| bin _time span=1s
| stats count by _time fuzz

or 

| timechart count by fuzz span=1s

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...