Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Combining similar log entries and counting as one

$
0
0

I have multiple users making a request to a web server each time they type a character into a search box. User 1 is typing 'please' and user 22 is typing 'cat'. Simplified log entries:

ip=10.10.0.1&q=p ip=10.10.1.22&q=c ip=10.10.0.1&q=pl ip=10.10.0.1&q=ple ip=10.10.1.22&q=ca ip=10.10.0.1&q=plea ip=10.10.1.22&q=cat ip=10.10.0.1&q=pleas ip=10.10.0.1&q=please

I would like to:

  • Count the number of requests that are all part of the same 'typing' action. So for Please it would be 6 and for Cat it be 3. It can be assumed that the user types a different word each time.

  • Count the number of distinct typing actions - so 1 for both users.

Any ideas?

Thanks Robert


Viewing all articles
Browse latest Browse all 13053

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>