I'm unable to install/configure the versioncontrol for splunk app. When I add the configuration, everytime there's a "bad request" errormessage. I tried to "missconfigure" the local REST endpoints/user/passwords and the errormessage was different, so I guess the Bad-Request is about the remote GIT repository. In what format do I have to configure? I tried
I've added the ssh public key to GIT, so I am able to clone the repository (which is completely empty, no branches or files) to the localhost (windows, where my splunk standalone is installed). What logger would tell me more about the Bad Request?
Thank you so much
Did intialize and add a reamde.md, repo has default branch "master", nothing else.
Still "bad request" when trying to configure.
Format of git url is correct when using "ssh://email@example.com:7999/om_mon/splunkversioncontrol.git" ?
Thank you very much
Hi, splunkversioncontrol_backup.log and splunkversioncontrol_restore.log remain empty.
When I start splunkd.exe with --debug option, I see in splunkd.log some entries, but nothing that gives me a reasonf for "Bad Request".
Wanted to post my log output, but text upload size is very limited. And I am missing karma points for uploading attachments...
Thank you very much
Ah yes, your not getting past validation so no logs yet!
There are two potential errors you should see:
Attempt to validate access to Splunk failed with code ...
Attempt to validate access to Splunk failed with error
Failed to validate the git repo URL, stdout of
If its one of the first two, all I'm doing is using the src URL supplied and
Did you install the SplunkVersionControl app on the machine you are attempting to backup?
If not did you use the remoteAppName option?
Finally if the above doesn't help there is a contact developer button on https://splunkbase.splunk.com/app/4355/ with my email address
So far I've assumed your configuring the backup part but the errors should be very similar for the restore part as well...
Thank you, yes I installed SplunkVersionControl on my local splunk (to see how it works before I install it on the shared environment).
Indeed, I see
08-16-2019 10:17:19.684 +0200 WARN ModularInputs - Argument validation for scheme=splunkversioncontrol_backup failed: Failed to validate the git repo URL, stdout of '', stderr of 'Die Syntax f² den Dateinamen, Verzeichnisnamen oder die Datentrŧerbezeichnung ist falsch.\r\r\n'
08-16-2019 10:17:19.684 +0200 INFO ModularInputs - Failed to validate the git repo URL, stdout of '', stderr of 'Die Syntax f² den Dateinamen, Verzeichnisnamen oder die Datentrŧerbezeichnung ist falsch.\r\r\n'
08-16-2019 10:17:19.684 +0200 DEBUG AdminManager - URI /servicesNS/admin/search/data/inputs/splunkversioncontrol_backup generated an AdminManagerExceptionBase exception in handler 'splunkversioncontrol_backup': Failed to validate the git repo URL, stdout of '', stderr of 'Die Syntax f² den Dateinamen, Verzeichnisnamen oder die Datentrŧerbezeichnung ist falsch.\r\r\n'
So, how must I define the gitRepoURL? I tried
Thank you for your hint.
git ls-remote works without password prompt.
Maybe the problem is that the ssh-key is installed in my .ssh/id_rsa.pub, but my local splunk runs as a system service, so maybe the ssh key is searched elsewhere, I'll give a try and will feed back 🙂