Getting Data In

Can't login when setting up a universal forwarder

asdpoi
Engager

My freshly installed splunk server has by default listening enabled on port 9997.

When I try to configure a universal forwarder, using splunk add forward-server ip:9997, I'm getting a "Login failed" message.

I verified that the username and password are accurate, of an admin user that can log in to the web interface with them ( on port 8000).

I also verified that there are no blocks on port 9997 by successfully opening a telnet session to that port.

What am I doing wrong here? And how can I get more verbose details on what is causing the failure?

1 Solution

mslvrstn
Communicator

If it's a freshly installed forwarder, it probably still has default credentials.
Try "-auth admin:changeme" and then make sure you change the password.

View solution in original post

Ayn
Legend

When you're configuring the universal forwarder, the login details you are asked for are those of the local Splunk installation, not the credentials for logging into your central Splunk server. As such, unless you changed credentials from the default in the forwarder installation, the credentials you should provide are the default ones: admin/changeme.

mslvrstn
Communicator

If it's a freshly installed forwarder, it probably still has default credentials.
Try "-auth admin:changeme" and then make sure you change the password.

BrendanCO
Path Finder

Thank you guys! i was trying the web admin password also

0 Karma

rogue_carrot
Communicator

Thank-you for posting this question and answer. I was not sure what credentials they wanted. I entered my credentials for this website for instance thinking maybe that was the tokens I needed.

0 Karma

kaldurai
Engager

for username provide admin and password changeme..for fresh installation

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...