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!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...