Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
CONTEXTID=<contextid> && curl -s -XPOST -H "Content-Type: application/json" --data-binary '{"query":{"bool":{"must":[{"match":{"contextid":"'"$CONTEXTID"'"}}]}}}' "$ESIP:9200/$ESINDEX/_count" | jq '.count'

Streams by bucket (context id)

Code Block
BUCKETID=<contextid) &&curl -s "$ESIP:9200/$ESINDEX/_search?q=stype:NAMED+AND+contextid:$BUCKETID&pretty";

Stream count by Domain (domain id)

...