Getting Data In

Prompt for Splunk user when configuring Universal Forwarder

Mike_McMurray
Engager

I've just upgraded to Splunk 4.2 and have installed and started the UF on a Linux box. But when I try to run,

./splunk add forward-server <myip>:9997

I get prompted for a Splunk username and password. I've tried my Splunk indexer username (trial version at the moment) and local user credentials, but am obviously missing the point. Do I need to create a Splunk user (./splunk add user ...) on this machine first? If so, does this need to match a local user that the daemon will use?

I have installed the Win32 UF to send to my indexer and that's working fine.

Seems like this should be obvious (and I'm feeling dumb) but I can't find anything in the Docs. Thanks.

1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

By default, the user there is admin/changeme, unless you've changed it.

View solution in original post

Stephen_Sorkin
Splunk Employee
Splunk Employee

By default, the user there is admin/changeme, unless you've changed it.

araitz
Splunk Employee
Splunk Employee

Change the password while you are at it:

./splunk edit user admin -password coolNewP455w3rdddd

Mike_McMurray
Engager

Ahh crap. My line of thinking was that this was prompting for credentials of the remote indexer and NOT the local splunk UF.
So, yes, the UF config is asking for the credentials of the local splunk install, which was the default.
Thanks

Get Updates on the Splunk Community!

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...