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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...