Getting Data In

Query for a list of users in a search head cluster

pattokt
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

MuS
Legend

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

pattokt
Explorer

Hello MuS,

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

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...