Getting Data In

Determine Peak Concurrency Aggregating IIS Logs

ezajac
Path Finder

I have an index to consolidate the IIS logs for an application. I have 6 servers that handle load balancing. The IIS logs are in Splunk.

Is there a search parameters can I use to determine the peak concurrent users at a point in time?

Tags (1)

johnmca
Explorer

If you are capturing ClientIP and UserAgent you can use that to define a unique vistor. Just depends on how you want to define a visitor.

| eval uniqueVisitor=(ClientIP + ClientUserAgent) | timechart span=5m dc(uniqueVisitor) as uniqueVistor.

Check out the Web intelligence app to. It has a lot of good views and searches available.

0 Karma

kristian_kolb
Ultra Champion

Or if you don't have a really nice way of seeing session start/end, but have a unique identifier for visitors (like a JSESSIONID), you could fake concurrency with something like;

sourcetype=iis* | timechart span=5m dc(JSESSIONID) AS concurrent_users

which will give you a fairly good of the number of active users for each 5 minute period.

/K

jonuwz
Influencer

Do the events contain session ids and logon / logoff event entries ?

If so, you can work out the start of the session, the duration of the session, and use the concurrency search command

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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