Getting Data In

Query for a list of users in a search head cluster

Explorer

Goal
Query for a list of all users across a search head cluster

Problem
Not all users are returned by the query below
| rest /services/authentication/users

Steps so far
I've searched through various other answers and it's been suggested that the rest query pulls only from the search head you are logged into.

0 Karma

SplunkTrust
SplunkTrust

Hi pattokt,

Just run the exact same SPL from the Splunk instance that is configured to run the Monitoring Console, because this instance should have all other instances as search peers and therefore the REST search will query these instances as well and provide a list back of all the users logged into the instances.

Hope this helps ...

cheers, MuS

0 Karma

Explorer

Hello MuS,

Unfortunately, this did not appear to work. There are still accounts, which I expect to see, but are not.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!