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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...