Splunk Search

limiting search by a second time range

fk319
Builder

I have a search that spans several minutes, but due to flashchart, I can only view a 1 minute window.

starttime="2/12/2014:0:0:0" endtime="2/12/2014:1:0:0"
| stats stuff
| search starttime="2/12/2014:0:10:0" endtime="2/12/2014:0:11:0"

This does not work, any suggestions?

Tags (2)
0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

Can you elaborate on what you are trying to accomplish? Using stats you will lose all the other fields and you can't run another search after that with a starttime and endtime at the end. Have you tried eventstats?

0 Karma

fk319
Builder

I have events that have a start and an end. I would like to know how many events I have each second. so by computing before the report window an can count starts that have not ended yet, ie that are still running during my report window. I am using streamstats to count, I was not able to get meaningful data from eventstats.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...