Splunk Search

How to get a list of concurrent Splunk users on a Search Head?

dm1
Contributor
 
Labels (1)
Tags (2)
0 Karma

danielcj
Communicator

Hello,

Not sure if I understand correctly your question.

Do you want to get the list of all the users created on a Search Head?

You can use the following search if you want to list all the users created:

| rest /services/authentication/users
| table title

 

If you want to list the count of distinct active users you can use the following search:

(index=_audit info=completed action=search user!="splunk-system-user") 
| stats dc(user) as "Distinct Users"

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

I suppose OP wants a lis of active logged in sessions on a particular SH.

You can get that (and the query used to populate the table) in the monitoring console -> search -> activity (or something like that)

0 Karma

dm1
Contributor

Yes, thats right.

I am workinng on sizing Splunk instances in AWS to migrate our current on-prem platform to AWS and was referring this guide It mentions about concurrent Splunk users. Hence, why I am trying to figure out where/how I can find that info.

I checked where you mentioned, but it mainly shows concurrent searches, not users.

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

I'm afraid that you cannot get exact numbers of concurrent users in any particular time from splunk. You could try to get some information about it to look those searches etc. from audit trail, but it never told that concurrent user amount. Fortunately you don't need that for sizing your AWS splunk environment 😉

More important information is concurrent searches than users. And that you can see from MC. On MC you also see how well your current environment is working with current load. Of course there are many things what you must check, but one which you must check is MC -> Searches -> Scheduler Activity. That tolds to you how much you need cores etc. to fulfil your current needs. Look Skipped and Deferred items there.

r. Ismo

0 Karma

PickleRick
SplunkTrust
SplunkTrust

That's correct. I was writing from memory. Apparently it fooled me 😉

You should be able to get list of searches from _internal index and check how many users issued those searches during some time. That's one of possible approaches.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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