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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...