We will use a powershell.
For the Windows installer the log by default is located in the "$env:ProgramFiles/Storj/Storage Node/storagenode.log"
, so to run this script:
.\audits_satellites.ps1 -Path "$env:ProgramFiles/Storj/Storage Node/storagenode.log"
For the
- Download a script successrate.ps1 (or clone the repository GitHub - AlexeyALeonov/success_rate: Success rate for storagenode (Storj V3) and navigate to the
success_rate
folder) - Open a powershell in the folder with the
successrate.ps1
script and execute
.\successrate.ps1 -Path "$env:ProgramFiles/Storj/Storage Node/storagenode.log"
For the storagenode API you can use this command:
((curl http://127.0.0.1:14002/api/dashboard).Content | ConvertFrom-Json).data.satellites.id | %{"$_"; ((curl http://127.0.0.1:14002/api/satellite/$_).Content | ConvertFrom-Json).data.audit}