All Apps and Add-ons

count number of users in the app

shayhk
Explorer

Hi,
I am trying to show the uniq users list but getting diffrent results

for example I have this list of data
USER_ID

1111111

2222222

2222222

3333333

4444444

4444444

Why are there diffrent number of results when doing:

  1. ...|table id|uniq

  2. ...|table id|stats dc(id)

Tags (3)
0 Karma

Rocket66
Communicator
| dedup id

will filter only ("real") unique IDs - as counted by :

| stats dc(id)
0 Karma

somesoni2
SplunkTrust
SplunkTrust
For sample data is like below
1
1
2
3
2
3
3
4

uniq
Filters out repeated adjacent results. 
OUTPUT:
1
2
3
2
3
4

stats dc(id) :- counts no of unique values for field id
OUTPUT: 4
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...