Splunk Search

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

dm1
Contributor
 
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
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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...