Script for Audits stat by satellites - only overall audits

Have another issue with on Ubuntu Server…
The script shows only the overall Audits, not separately for each satellite.

This time i read the README first without success.

Any idea?

It’s outdated, because dev changed a way how to log information.
Better to request your storagenode API:

Docker version (bash)

for sat in `docker exec -i storagenode wget -qO - localhost:14002/api/dashboard | jq .data.satellites[].id -r`; do docker exec -i storagenode wget -qO - localhost:14002/api/satellite/$sat | jq,.data.audit; done

Docker version (Powershell)

(docker exec -i storagenode wget -qO - localhost:14002/api/dashboard | ConvertFrom-Json) | %{"$_"; (docker exec -i storagenode wget -qO - localhost:14002/api/satellite/$_ | ConvertFrom-Json).data.audit}

Dashboard is port mapped (bash)

for sat in `wget -qO - localhost:14002/api/dashboard | jq .data.satellites[].id -r`; do wget -qO - localhost:14002/api/satellite/$sat | jq,.data.audit; done

Dashboard is port mapped or Windows GUI (Powershell)

((curl | ConvertFrom-Json) | %{"$_"; ((curl$_).Content | ConvertFrom-Json).data.audit}