Activity Feed
- Posted Re: Rest access to indexer from search head without password on Security. 05-21-2019 01:14 PM
- Posted Re: Rest access to indexer from search head without password on Security. 05-20-2019 12:33 PM
- Posted Rest access to indexer from search head without password on Security. 05-20-2019 10:04 AM
- Tagged Rest access to indexer from search head without password on Security. 05-20-2019 10:04 AM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
0 |
05-21-2019
01:14 PM
Thanks @harsmarvania57 ! This does the trick!
... View more
05-20-2019
12:33 PM
curl like mechanism
... View more
05-20-2019
10:04 AM
I am trying to print the status and the hardware info for my indexers by executing the rest endpoint /services/server/info for each of the indexers on the search head by getting the indexer ip's from /services/search/distributed/peers endpoint. Given that the user has admin credentials and access, we can get the auth token to execute rest calls on search head using auth/login endpoint. Is there a way we can access the indexers from the search head without using the auth/login endpoint which requires indexer credentials input in the rest call. So basically if the username /password are different on indexers compared to the search head I need to keep taking the input credentials for each indexer to get the indexer information on the search head.
Is there a way to accomplish this without asking indexer credentials? or Is there a way as an admin I can get the credentials for accessing the indexers and then I can use the auth/login way?
Note: There is the trusted.pem that contains the public key of SH in SPLUNK_HOME/etc/auth/distServerKeys on the search that is distributed to indexers on adding the peer. But I believe this is more useful in SSH. Not sure if this can be used in a REST call to indexer
... View more
- Tags:
- splunk-enterprise