Getting Data In

Authentication error: Client is not authenticated while trying to add search peers to the search head

snorri
Path Finder

I'm trying to set up a simple Splunk environment, but when running:

$SPLUNK_HOME/bin/splunk add search-server http://192.168.4.210:8089 -auth admin:password -remoteUsername admin -remotePassword password

I get this message:

An authentication error occurred: Client is not authenticated

I'm kind of new to this and have been googling for a couple of Hours now with no luck.
Why am I getting this error, and how can I make this work?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi snorri,
let me understand: what's your environment and what do you want to reach?
What do you mean with "simple environment" ?

Anyway, the "splunk add search-server" permits to you to add a Search Peer to a Search Head, have you a distributed environment?
You could do the same thing, in easily way, by web interface.

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...