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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...