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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...