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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...