All Apps and Add-ons

How does mint.splunk.com insights calculate the # of sessions?

ehimarc
New Member

We've been using the Mint Management Console on mint.splunk.com for reporting for quite some time. We recently switched to the HEC data collection mechanism and are trying to create similar queries in Splunk to produce the same report. We've run into an issue where the number of sessions over a seven day period doesn't come close to what the mint management console is reporting.

I started off simple enough, just doing a distinct count of session_id:

| stats dc(session_id)

However that didn't come close to the MMC.

Next I tried counting by day and then adding those together

| bin _time span=1d
| stats dc(session_id) AS Sessions BY _time
| eventstats sum(Sessions)

That got me closer to the same number, but still off by more than 100,000.

Any ideas as to how the MMC comes up with their session count and how I might reproduce that in Splunk?

Thanks for your help.

0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...