...
Code Block | ||
---|---|---|
| ||
BUCKET=<bucket name> && DOMAIN=<domain name> && curl -sIL "$SCSP_HOST/$BUCKET?domain=$DOMAIN" | grep ^Etag^Castor-System-Alias | awk '{ print $2 }' | sed 's/"//g' |
from ES directly- by domain id
Code Block | ||
---|---|---|
| ||
BUCKET=<bucket name> && DOMAINID=<domainid> && curl -s "$ESIP:9200/$ESINDEX/_search?q=domainid:$DOMAINID+AND+stype:BUCKET+AND+name:$BUCKET&pretty" | jq -r '.hits.hits[]._source.etag' |
...
id' |
Stream count by bucket (context id)
...