Getting Data In

Finding where multiple events have the same time

mikelanghorst
Motivator

We had an issue here with one of our web fronted applications when the webserver received multiple requests to the same url down to the same millisecond. This caused the wrong file to be delivered to the first requestor. Obviously this was an issue with the code to allow the problem, but I couldn't think of how to find occurrences of this.

So for a given source, how to show where 2 or more events occur at the same time?

Tags (1)
1 Solution

RicoSuave
Builder
<yoursearch> | transaction _time | where eventcount > 1

View solution in original post

ziegfried
Influencer

Just an alternative that might be a bit more efficient:

... | eventstats count by _time | where count>0
0 Karma

RicoSuave
Builder
<yoursearch> | transaction _time | where eventcount > 1

mikelanghorst
Motivator

Thanks, hadn't thought of using transaction. A bit more filtering and this will work great. Just that one step took the results from 5k, down to 342 results.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...