Based on the following entries:
ORDER=entry1 USER=user1 EP=endpoint1 TIME=10:00
ORDER=entry2 USER=user2 EP=endpoint1 TIME=10:01
ORDER=entry3 USER=user1 EP=endpoint1 TIME=10:05
ORDER=entry4 USER=user2 EP=endpoint1 TIME=11:00
I want to write a Splunk query that would list all calls to endpoint1 by the same user, in an interval less than 30 minutes.
The output of the query would be
ORDER=entry3 USER=user1 EP=endpoint1 TIME=10:05
because only the entry3 is done by the same user to that endpoint in an interval that is less than 30 minutes.
I tried writing the query, but I don't know how to make it to a generic user. My queries work, but they are for a specific user.
How can I make it generic?