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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...