When trying to log into splunk to get to the @root for splunk it is not recognizing the path provided. In powershell I receive this error:
PS C:> $splunk_home=C:\Program Files\Splunk
C:\Program : The term 'C:\Program' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:14
+ $splunk_home=C:\Program Files\Splunk
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
In windows(CMD) I receive this error:
C:\Program Files\Splunk\bin>splunk.exe envvars & setsplunkenv.bat
'setsplunkenv.bat' is not recognized as an internal or external command,
operable program or batch file.
If I am missing a step please let me know
Thanks
... View more