All Apps and Add-ons

How can I run a query that counts the no. of distinct session_ID in Splunk MINT?

Poonsie
Explorer

This is what my session info looks like:

apiKey: a4a35eca

appEnvironment: Release

appVersionCode:

appVersionName:
batteryLevel: 50

carrier: AT&T

connection: UMTS

currentView: NA

device:

extraData: {
}

fsEncrypted: false

locale: US

msFromStart: 3100

osVersion: 4.1.1

packageName:
platform: Android

remoteIP:
rooted: true

screenOrientation: LandscapeRight

sdkVersion: 5.0.0

session_id: afaced27-f7db-4e8d-8b3d-a3dc6193e172

state: CONNECTED

transactions: [
]

userIdentifier: NA

uuid: dc0d9664313e1aa34266

I am trying to count the amount of unique sessions and then portion it out by OS, device, etc

Thanks!

Tags (2)
0 Karma
1 Solution

croyal_splunk
Splunk Employee
Splunk Employee

Hi -

index=mint | stats dc(uuid) would count everything - iOS and Android.

View solution in original post

croyal_splunk
Splunk Employee
Splunk Employee

Hi -

index=mint | stats dc(uuid) would count everything - iOS and Android.

Poonsie
Explorer

Thanks so much!

0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

Hi - Are you viewing your data on Splunk Enterprise with MINT App or on the cloud at mint.splunk.com? If you are viewing data at mint.splunk.com, you can view summary of data but different sorts and dashboards are not available.

If you are a Splunk Enterprise MINT App customer, please see Use the Splunk MINT App > Searches and Use the Splunk MINT App > Dashboards for information on available queries and views.

Poonsie
Explorer

Hey Croyal, I am familiar with the Splunk MINT app dashboard and searching it. However I was unable to design a query that could provide me a count of unique session IDs. The data is there I just don't know the proper formatting for the query and arithmetic!

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...