diff --git a/contrib/bigip-collect/README.md b/contrib/bigip-collect/README.md index 087fcce..19764ce 100644 --- a/contrib/bigip-collect/README.md +++ b/contrib/bigip-collect/README.md @@ -66,7 +66,8 @@ Password: -> Collecting APM usage -> Data collection completed, building JSON payload -> Uploading /tmp/20230322-1154-bigIPCollect.json to Second Sight at http://192.168.1.19:8080 -{"success":true,"status":"File upload completed","filename":"20230322-1154-bigIPCollect.json","content-type":"application/octet-stream","description":"20230322-1154-bigIPCollect.json","uid":"73096b05-995f-43cd-be8d-6fc39100c839"}-> Upload complete +{"success":true,"status":"File upload completed","filename":"20230322-1154-bigIPCollect.json","content-type":"application/octet-stream","description":"20230322-1154-bigIPCollect.json","uid":"73096b05-995f-43cd-be8d-6fc39100c839"} +-> Upload complete [root@bigip1:Active:Disconnected] tmp # ``` diff --git a/contrib/bigip-collect/bigIPCollect.sh b/contrib/bigip-collect/bigIPCollect.sh index bc36695..5fda7af 100755 --- a/contrib/bigip-collect/bigIPCollect.sh +++ b/contrib/bigip-collect/bigIPCollect.sh @@ -111,6 +111,6 @@ then echo "-> All done, copy $JSONFILE to your local host using scp" else echo "-> Uploading $JSONFILE to Second Sight at $UPLOAD_SS" - curl -X POST -sk $UPLOAD_SS/api/v1/archive -F "file=@$JSONFILE" -F "description=$JSONFILEBASENAME" + curl -X POST -sk $UPLOAD_SS/api/v1/archive -F "file=@$JSONFILE" -F "description=$JSONFILEBASENAME" -w '\n' echo "-> Upload complete" fi