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 | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...