Is it possible to automate Graylog Sidecar API token installation?
For now i need to login to server, create API token, push it to simple script on Windows server:
Set MountDir=%~dp0
set /p apitoken=Enter API TOKEN for PC %computername%:
%MountDir%\graylog_sidecar_installer_1.5.0-1.exe /S -SERVERURL=https://graylogserver/api -TAGS=["windows","server"] -APITOKEN=%apitoken% -TLS_SKIP_VERIFY=true
Is there any way to automate creation of API tokens for large environments? Something like “install all by script and then approve or don’t approve sidecars on server”?
Thanks in advance.